1681-engine / ui / StackResult
Interface: StackResult ​
Defined in: src/ui/layout/stack.ts:20
The shapes every UI layout function speaks: plain objects, no Pixi and no DOM, so the same maths places a canvas widget, a DOM panel or a React component.
Extends ​
Properties ​
height ​
ts
height: number;Defined in: src/ui/layout/geometry.ts:7
Inherited from ​
items ​
ts
items: Rect[];Defined in: src/ui/layout/stack.ts:22
One rect per item, in the order given, relative to the stack's top-left.
width ​
ts
width: number;Defined in: src/ui/layout/geometry.ts:6