Creates an instance of sketch layer.
The tag associated with the design layer.
The x-coordinate of the design layer.
The y-coordinate of the design layer.
The width of the design layer.
Optional
height: number = 0The height of the design layer. The boat doesn't have specific height at creation.
The height of the design layer. The boat doesn't have specific height at creation.
The tag associated with the design layer.
The width of the design layer.
The x-coordinate of the design layer.
The y-coordinate of the design layer.
Checks if this SketchLayer is colliding with another SketchLayer.
The SketchLayer to check collision with.
Optional
xCollisionRadius: number = 0The x-axis collision radius. If positive then extend the original bounds on x-axis. If negative, overlapping is accepted.
Optional
yCollisionRadius: number = 0The y-axis collision radius. If positive then extend the original bounds on y-axis. If negative, overlapping is accepted.
Represents a design layer with tag and coordinates.