RectangleOptions
The RectangleOptions
interface represents the options for configuring a rectangle in the game.
Definition
interface RectangleOptions {
fillColor?: string;
weight?: number;
strokeColor?: string;
radius?: number;
}
Properties
fillColor
- Type:
string
(optional)
The fill color of the rectangle.
weight
- Type:
number
(optional)
The weight (thickness) of the rectangle's stroke.
strokeColor
- Type:
string
(optional)
The stroke color of the rectangle.
radius
- Type:
number
(optional)
The radius of the rectangle's corners.