The 2D layer · interface

UiRect

A resolved box, in whatever units the tree is laid out in. Written by layoutUiTree.

Explained in Sprites and tilemaps.

interface UiRect
import type { UiRect } from '@driftengine/ui2d';

Properties

NameTypeDescription
xnumber
ynumber
wnumber
hnumber