Skip to main content

Interface: UiVerticalBandOptions

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

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

Properties​

verticalMargin?​

optional verticalMargin?: number

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

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


width​

width: number

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

The band's width, in widthUnit - the horizontal axis is point-anchored, so this is a literal size.


widthUnit?​

optional widthUnit?: UiAxisSizeUnit

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

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