Skip to main content

LineOptions

Options for configuring the behavior of a line shape.

Implements​

Constructors​

new LineOptions()​

new LineOptions(options): LineOptions

Creates a new instance of LineOptions.

Parameters​

• options: Partial<ILineOptions> = {}

The partial options provided by the user.

Returns​

LineOptions

Defined in​

options/LineOptions.ts:30

Properties​

draggable​

draggable: boolean

Determines if the shape can be dragged by mouse.

Implementation of​

ILineOptions.draggable

Defined in​

options/LineOptions.ts:16


visible​

visible: boolean

Determines if the shape should be visible or not.

Implementation of​

ILineOptions.visible

Defined in​

options/LineOptions.ts:11


DefaultOptions​

readonly static DefaultOptions: ILineOptions

Default options for the line.

Defined in​

options/LineOptions.ts:21