Skip to main content

ShapeStyle

Represents the style for a shape, including optional state-specific styles.

Extended by

Type Parameters

TStyle extends IShapeBaseStyle

Implements

Constructors

new ShapeStyle()

new ShapeStyle<TStyle>(): ShapeStyle<TStyle>

Returns

ShapeStyle<TStyle>

Properties

cursor

cursor: Cursor

Specifies the cursor style for the shape.

Implementation of

IShapeStyle.cursor

Defined in

styles/ShapeStyle.ts:12


hover?

optional hover: TStyle

Hover style for the shape.

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

Implementation of

IShapeStyle.hover

Defined in

styles/ShapeStyle.ts:20