Skip to content

User JSON EllipseIndicator

roosit edited this page Oct 16, 2026 · 2 revisions

Ellipse JSON

Back to list | Indicator page | Русский

Purpose

This page describes the JSON template of the ellipse indicator for editing .vttp files by hand. The indicator draws an ellipse with a fill and a border.

Full Template

{
  "name": "com.velitask.plagin.official.ellipse",
  "data": {
    "maket": { "preset": "auto" },
    "properties": {
      "fillColor": {"r":0,"g":0,"b":0,"a":128},
      "borderColor": {"r":255,"g":255,"b":255,"a":255},
      "borderWidth": {}
    }
  }
}

The numeric field borderWidth is written as an empty object {}: this is the default value (see the setting description for details).

Settings

fillColor

The fill color ("Fill color").

{
  "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 Opacity: 0 is fully transparent, 255 is opaque.

borderColor

The border color ("Border color").

{
  "borderColor": {"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 is fully transparent, 255 is opaque.

borderWidth

The border thickness ("Border Width").

{
  "borderWidth": {}
}
Field Values What it does
value 0..50 Border thickness. 0 means no border. An empty object {} means the default value 0; to set your own, use {"value": N}.

Clone this wiki locally