Skip to content

1681-engine / ui / Size

Interface: Size ​

Defined in: src/ui/layout/geometry.ts:5

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.

Extended by ​

Properties ​

height ​

ts
height: number;

Defined in: src/ui/layout/geometry.ts:7


width ​

ts
width: number;

Defined in: src/ui/layout/geometry.ts:6

Released under the MIT License.