Repository navigation
User JSON TextIndicator
roosit edited this page Oct 16, 2026
·
2 revisions
Back to list | Indicator page | Русский
This page describes the JSON template of the text indicator for manual editing of .vttp: which fields exist and which values are valid.
{
"name": "com.velitask.plagin.official.text",
"data": {
"maket": { "preset": "auto" },
"properties": {
"value": { "value": "Text" },
"font": {
"name": "Dialog",
"style": 0,
"size": 48,
"color": { "r": 255, "g": 255, "b": 255, "a": 255 }
},
"textAlign": { "value": 4 }
}
}
}The default text depends on the interface language: in the English version it is Text.
The text that is shown on screen.
{
"value": {
"value": "Text"
}
}| Field | Values | What it does |
|---|---|---|
value |
string | The text to show. An empty string is replaced with the default value. |
Font and text color.
{
"font": {
"name": "Dialog",
"style": 0,
"size": 48,
"color": { "r": 255, "g": 255, "b": 255, "a": 255 }
}
}| Field | Values | What it does |
|---|---|---|
name |
string | Font name. |
style |
0, 1, 2
|
Style: 0 plain, 1 bold, 2 italic. |
size |
1..999 |
Font size. |
color.r |
0..255 |
Red channel. |
color.g |
0..255 |
Green channel. |
color.b |
0..255 |
Blue channel. |
color.a |
0..255 |
Opacity: 0 fully transparent, 255 opaque. |
Position of the text inside the layer.
{
"textAlign": {
"value": 4
}
}| Field | Values | What it does |
|---|---|---|
value |
0..8 |
Index of the text position. |
value |
Position |
|---|---|
0 |
top left |
1 |
top center |
2 |
top right |
3 |
middle left |
4 |
center (default) |
5 |
middle right |
6 |
bottom left |
7 |
bottom center |
8 |
bottom right |