JSON (JavaScript Object Notation)
In SIS Desktop 9 Pens (and Brushes) are specified in JSON (JavaScript Object Notation).
This JSON describes a Pen to produce a black solid line:
{"Pen":{"Colour":{"RGBA":[0,0,0,0]}}}
The resulting line looks like this:
This JSON describes a Pen to produce a line with the characteristics as shown:
{"Pen":{"Style":"Dash","Colour":{"RGBA":[255,0,0,80]},"Width":250,"LineCap":"Round"}}
Dash Style: Dash
Colour: 255 (red)
Transparency: 80
Width (mm): 2.50
Line Caps: Round
The resulting line looks like this: