Skip to content

User JSON RectangleIndicator

roosit edited this page May 15, 2026 · 2 revisions

Rectangle JSON

Back to list | Indicator page | Russian

Purpose

This page describes the JSON template for the rectangle indicator for manual .vttp editing.

Full Template

{
  "name": "com.velitask.plagin.official.rectangle",
  "data": {
    "maket": { "preset": "auto" },
    "properties": {
      "fillColor": {"r":0,"g":0,"b":0,"a":128},
      "border": {"lineColor":{"r":255,"g":255,"b":255,"a":255},"thickness":{"value":1},"style":{"value":0},"dashPattern":{"value":""}}
    }
  }
}

Settings

fillColor

Changes fill color and transparency.

{
  "fillColor": {"r":0,"g":0,"b":0,"a":128}
}
Field Values What it does
r 0..255 Red channel.
g 0..255 Green channel.
b 0..255 Blue channel.
a 0..255 Alpha: 0 is transparent, 255 is opaque.

border

Controls border color, thickness, style, and dash pattern.

{
  "border": {"lineColor":{"r":255,"g":255,"b":255,"a":255},"thickness":{"value":1},"style":{"value":0},"dashPattern":{"value":""}}
}
Field Values What it does
r 0..255 Red channel.
g 0..255 Green channel.
b 0..255 Blue channel.
a 0..255 Alpha: 0 is transparent, 255 is opaque.

Clone this wiki locally