Skip to main content

ILineStyle

Represents the style options for a line including the states.

Extends

Properties

active?

optional active: IShapeBaseStyle

Active style for the shape.

When the shape is in the active state, the properties defined in this style override the default style properties.

Inherited from

IShapeStyle.active

Defined in

styles/interfaces/IShapeStyle.ts:27


color?

optional color: string

The color of the line stroke.

Inherited from

ILineBaseStyle.color

Defined in

styles/interfaces/ILineBaseStyle.ts:10


cursor?

optional cursor: Cursor

Specifies the cursor style for the shape.

Inherited from

IShapeStyle.cursor

Defined in

styles/interfaces/IShapeStyle.ts:11


hover?

optional hover: IShapeBaseStyle

Hover style for the shape.

When the shape is in the hover state, the properties defined in this style override the default style properties.

Inherited from

IShapeStyle.hover

Defined in

styles/interfaces/IShapeStyle.ts:19


width?

optional width: number

The width of the line stroke.

Inherited from

ILineBaseStyle.width

Defined in

styles/interfaces/ILineBaseStyle.ts:15