Skip to main content

Interface: UiPointAxis

Defined in: ui/types/ui-axis.ts:22

A point-anchored axis: anchor is a single normalized position within the parent's rect on this axis (the element's own anchorMin/anchorMax on this axis coincide), so the element keeps its own literal size and moves with the anchor rather than resizing with the parent.

Properties​

anchor​

anchor: number

Defined in: ui/types/ui-axis.ts:26

Normalized anchor position within the parent's rect on this axis.


kind​

kind: "point"

Defined in: ui/types/ui-axis.ts:23


pivot​

pivot: number

Defined in: ui/types/ui-axis.ts:29

Normalized origin within the element's own rect on this axis.


size​

size: number

Defined in: ui/types/ui-axis.ts:32

The element's literal size on this axis, in sizeUnit.


sizeUnit?​

optional sizeUnit?: UiAxisSizeUnit

Defined in: ui/types/ui-axis.ts:35

The unit size is expressed in. See UiAxisSizeUnit.