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


draggable?

optional draggable: boolean

Determines if the shape can be dragged by mouse.

Inherited from

IShapeOptions.draggable

Defined in

options/interfaces/IShapeOptions.ts:13


visible?

optional visible: boolean

Determines if the shape should be visible or not.

Inherited from

IShapeOptions.visible

Defined in

options/interfaces/IShapeOptions.ts:8