Repository navigation
User JSON ImageIndicator
roosit edited this page May 31, 2026
·
2 revisions
Back to list | Indicator page | Russian
This page describes the JSON template for the image indicator for manual .vttp editing.
{
"name": "com.velitask.plagin.official.image",
"data": {
"maket": { "preset": "auto" },
"properties": {
"imageSource": {},
"border": {"lineColor":{"r":255,"g":255,"b":255,"a":255},"thickness":{"value":1},"style":{"value":0},"dashPattern":{"value":""},"cornerRadius":{"value":0}}
}
}
}Selects the image for the overlay from the project sources.
{
"imageSource": {}
}| Field | Values | What it does |
|---|---|---|
| sourceId | source id in the project | In a real Mixel, selects the image source. It may be omitted in a template. |
| sensorId | sensor id in the source | In a real Mixel, selects the concrete sensor. It may be omitted in a template. |
Configures the border color, thickness, line style, dash pattern, and corner radius.
{
"border": {"lineColor":{"r":255,"g":255,"b":255,"a":255},"thickness":{"value":1},"style":{"value":0},"dashPattern":{"value":""},"cornerRadius":{"value":0}}
}| Field | Values | What it does |
|---|---|---|
| lineColor |
r/g/b/a object |
Border line color. |
| thickness.value | number, 0 no border |
Border thickness. |
| style.value |
0 solid, 1 dashed, 2 dotted, 3 dash-dot, 4 dash-dot-dot, 5 long dash, 6 short dash, 7 custom |
Border line style. |
| dashPattern.value | string | Custom dash pattern; filled automatically when a style is selected. |
| cornerRadius.value | 0..500 |
Corner radius; 0 — straight corners. |
Changes the border line color and opacity.
{
"lineColor": {"r":255,"g":255,"b":255,"a":255}
}| Field | Values | What it does |
|---|---|---|
| r | 0..255 | Red channel. |
| g | 0..255 | Green channel. |
| b | 0..255 | Blue channel. |
| a | 0..255 | Opacity: 0 fully transparent, 255 opaque. |