Skip to main content

StaticBitmap

Mandatory properties

The following properties are available in addition to the common label object properties.

PropertyTypeDescription
typestringMust be StaticBitmap.
bitmapstringBase64-encoded PNG bitmap.
widthnumberWidth of the image area.
heightnumberHeight of the image area.

Optional properties

The following properties are available in addition to the common label object properties.

PropertyTypeDescription
fgColorstringImage color.
bgColorstringOptional background color.

Example

{
"type": "StaticBitmap",
"x": 10.0,
"y": 10.0,
"width": 10.0,
"height": 10.0,
"bitmap": "iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIAQAAAADsdIMmAAAAD0lEQVQImWPgZ4DADxAIABHgA/2duthcAAAAAElFTkSuQmCC"
}