[]
        
(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

dirX?

optional dirX?: number;

X-axis direction


dirY?

optional dirY?: number;

Y-axis direction


height

height: number;

Height.

Inherited from

Size.height


rotationAngle?

optional rotationAngle?: number;

Rotation angle


width

width: number;

Width.

Inherited from

Size.width


x

x: number;

X position.

Inherited from

PointLocation.x


y

y: number;

Y position.

Inherited from

PointLocation.y