[]
        
(Showing Draft Content)

Bounds

Interface: Bounds

Reach data structure with main (x, y, width, height) and additional (rotation angle, direction) information about the shape

Extends

Properties

rotationAngle?

optional rotationAngle: number;

Rotation angle


dirX?

optional dirX: number;

X-axis direction


dirY?

optional dirY: number;

Y-axis direction


x

x: number;

X position.

Inherited from

PointLocation.x


y

y: number;

Y position.

Inherited from

PointLocation.y


width

width: number;

Width.

Inherited from

Size.width


height

height: number;

Height.

Inherited from

Size.height