Skip to main content

Interface: UiHorizontalBandOptions

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

Options for a UiAnchor preset that stretches horizontally (a "band" spanning the parent's full width) but is point-anchored vertically.

Properties​

height​

height: number

Defined in: ui/types/ui-anchor.ts:37

The band's height, in heightUnit - the vertical axis is point-anchored, so this is a literal size.


heightUnit?​

optional heightUnit?: UiAxisSizeUnit

Defined in: ui/types/ui-anchor.ts:43

The unit height is expressed in. Defaults to 'referencePixels'. See UiAxisSizeUnit.


horizontalMargin?​

optional horizontalMargin?: number

Defined in: ui/types/ui-anchor.ts:40

Margin added to the band's horizontal span, in reference pixels. Defaults to 0.