Line
Mandatory properties
The following properties are available in addition to the common label object properties.
| Property | Type | Description |
|---|---|---|
| type | string | Must be Line. |
| endX | number | End x coordinate. |
| endY | number | End y coordinate. |
Optional properties
The following properties are available in addition to the common label object properties.
| Property | Type | Description |
|---|---|---|
| lineWidth | number | Line width. |
| color | string | Line color. May contain dynamic text. |
Example
{
"type": "Line",
"x": 0.0,
"y": 0.0,
"endX": 100.0,
"endY": 100.0,
"lineWidth": 5.0,
"color": "black"
}