IRectangleStyle
Represents the style options for a rectangle including the states.
Extends
Properties
active?
optionalactive: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
Defined in
styles/interfaces/IShapeStyle.ts:27
borderColor?
optionalborderColor:string
The color of the border.
Inherited from
IRectangleBaseStyle.borderColor
Defined in
styles/interfaces/IRectangleBaseStyle.ts:10
borderWidth?
optionalborderWidth:number
The width of the border in pixels.
Inherited from
IRectangleBaseStyle.borderWidth
Defined in
styles/interfaces/IRectangleBaseStyle.ts:15
color?
optionalcolor:string
The fill color of the rectangle.
Inherited from
Defined in
styles/interfaces/IRectangleBaseStyle.ts:20
cursor?
optionalcursor:Cursor
Specifies the cursor style for the shape.
Inherited from
Defined in
styles/interfaces/IShapeStyle.ts:11
hover?
optionalhover: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.