Interface ICanvasStyleConfig
A structure defining the appearance of grips of design elements.
Package: IframeApi
Properties
hover
The object that the cursor is hovering over.
Declaration
hover: IHoverStyle
Property Value
Type | Description |
---|---|
IHoverStyle |
Examples
"canvas": {
"style": {
"hover": {
"color": "green",
"width": 5,
"fillColor": "rgba(230, 250, 236, 0.5)",
"dashPattern": [2, 2],
"textColor": "green"
}
}
}
rubberband
A selected area when the left mouse button is holding down (or when the touchscreen is tapped).
Declaration
rubberband: IRubberbandStyle
Property Value
Type | Description |
---|---|
IRubberbandStyle |
selection
One or more selected design elements.
Declaration
selection: ISelectionStyle
Property Value
Type | Description |
---|---|
ISelectionStyle |
spotlight
A highlighted object.
Declaration
spotlight: ISpotlightStyle
Property Value
Type | Description |
---|---|
ISpotlightStyle |