Skip to content

1681-engine / ui / ScreenAnchor

Type Alias: ScreenAnchor ​

ts
type ScreenAnchor = 
  | "top-left"
  | "top"
  | "top-right"
  | "left"
  | "center"
  | "right"
  | "bottom-left"
  | "bottom"
  | "bottom-right";

Defined in: src/ui/layout/anchor.ts:4

A spot on the screen a HUD piece is pinned to; it stays there whatever the screen's size.

Released under the MIT License.