Constructs a Box object with the specified parameters.
The x-coordinate offset for the box.
The y-coordinate offset for the box.
Optional
height: number = 20The height of the box.
Optional
width: number = 120The width of the box.
Optional
rotation: number = 0.7The rotation factor of the box.
Optional
perspective: number = 4The perspective factor of the box.
Optional
hasTransparency: boolean = trueIndicates whether the box has transparency.
Optional
hasBottom: boolean = trueIndicates whether the box has a bottom.
Optional
strokeWidth: number = 3The stroke width of the box.
Optional
style: number = 666The style of the box (no style at all).
Optional
horizontalSubPoints: number = 3The number of horizontal sub-points.
Optional
verticalSubPoints: number = 2The number of vertical sub-points.
An array of Elements.
Represents a box generated using procedural generation.