Skip to content

@modoki/engine / index / UIAnchor

Variable: UIAnchor

const UIAnchor: Trait<{ anchor: "center" | "bottom" | "left" | "top" | "right" | "stretch" | "top-stretch" | "bottom-stretch" | "left-stretch" | "right-stretch" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "h-stretch" | "v-stretch"; bottom: number; bottomUnit: UILengthUnit; left: number; leftUnit: UILengthUnit; pivotX: number; pivotY: number; right: number; rightUnit: UILengthUnit; safeArea: boolean; top: number; topUnit: UILengthUnit; zIndex: number; }>

UIAnchor — screen positioning and safe area for root UI containers.

Built with Modoki.