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