Skip to content

1681-engine / ui / Rect

Interface: Rect ​

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

1681 Engine's UI module (1681-engine/ui): canvas widgets drawn with Pixi on the stage's screen layer, a bridge for a UI written in the DOM or React over the canvas, and the pure layout maths both use. A game that draws no UI through the engine never ships it.

Extends ​

Extended by ​

Properties ​

height ​

ts
height: number;

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

Inherited from ​

Size.height


width ​

ts
width: number;

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

Inherited from ​

Size.width


x ​

ts
x: number;

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

Inherited from ​

Point.x


y ​

ts
y: number;

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

Inherited from ​

Point.y

Released under the MIT License.