RectangleOptions
Options for configuring the behavior of a rectangle shape.
Implements
Constructors
new RectangleOptions()
new RectangleOptions(
options
):RectangleOptions
Creates a new instance of RectangleOptions.
Parameters
• options: Partial
<IRectangleOptions
> = {}
The partial options provided by the user.
Returns
Defined in
options/RectangleOptions.ts:33
Properties
centered
centered:
boolean
If true, the rectangle will be centered at the provided position. If false or undefined, the rectangle will be positioned from the top-left corner.
Implementation of
Defined in
options/RectangleOptions.ts:18
visible
visible:
boolean
Determines if the shape should be visible or not.
Implementation of
Defined in
options/RectangleOptions.ts:12
DefaultOptions
readonly
static
DefaultOptions:IRectangleOptions
Default options for the rectangle.