Skip to main content

IRectangleOptions

Represents options for configuring a rectangle shape.

Extends

Properties

centered?

optional 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.

Defined in

options/interfaces/IRectangleOptions.ts:11


visible?

optional visible: boolean

Determines if the shape should be visible or not.

Inherited from

IShapeOptions.visible

Defined in

options/interfaces/IShapeOptions.ts:8