Rectangle
Mandatory properties
The following properties are available in addition to the common label object properties.
| Property | Type | Description |
|---|---|---|
| type | string | Must be Rect. |
| width | number | Width of the rectangle. |
| height | number | Height of the rectangle. |
Optional properties
The following properties are available in addition to the common label object properties.
| Property | Type | Description |
|---|---|---|
| lineWidth | number | Border line width. |
| lineColor | string | Border line color. May contain dynamic text. |
| fillColor | string | Fill color. May contain dynamic text. |
Example
{
"type": "Rect",
"x": 0,
"y": 0,
"width": 100,
"height": 100
}