LineStyle
Represents the style options for a line.
Extends
Implements
Constructors
new LineStyle()
new LineStyle(
style
):LineStyle
Creates a new instance of LineStyle.
Parameters
• style: Partial
<ILineStyle
> = {}
The partial style provided by the user.
Returns
Overrides
Defined in
Properties
color
color:
string
The color of the line stroke.
Implementation of
Defined in
cursor
cursor:
Cursor
Specifies the cursor style for the shape.
Implementation of
Inherited from
Defined in
hover?
optional
hover:ILineBaseStyle
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
Inherited from
Defined in
width
width:
number
The width of the line stroke.
Implementation of
Defined in
DefaultStyle
readonly
static
DefaultStyle:ILineStyle
Default style for the line.