[]
Reach data structure with main (x, y, width, height) and additional (rotation angle, direction) information about the shape
optional dirX?: number;
X-axis direction
optional dirY?: number;
Y-axis direction
height: number;
Height.
optional rotationAngle?: number;
Rotation angle
width: number;
Width.
x: number;
X position.
y: number;
Y position.