The following is the built-in enums in categories:
▪Line
▪Note
Message Level |
Description |
---|---|
MessageLevel.Information |
Information level. |
MessageLevel.Warning |
Warning level. |
MessageLevel.Error |
Error level. |
MessageLevel.System |
System notification message, generated by the system. |
MessageLevel.PythonError |
System error message, generated by the system. |
Alert Level |
Description |
---|---|
AlertLevel.Warning |
Warning level. |
AlertLevel.Error |
Error level. |
▪Color.RGB(red, green, blue) — used to set the color. It returns the int value of a specified RGB color.
▪Color.Random — used to generate a random color. It returns -1.
The correspondence of a color and its RGB value is as follows:
Color |
RGB Value |
---|---|
Color.Black |
RGB(0, 0, 0) |
Color.Red |
RGB(255, 0, 0) |
Color.Orange |
RGB(255, 128, 0) |
Color.Green |
RGB(0, 255, 0) |
Color.Yellow |
RGB(255, 255, 0) |
Color.Blue |
RGB(0, 0, 255) |
Color.Pink |
RGB(255, 0, 255) |
Color.Cyan |
RGB(0, 255, 255) |
Color.White |
RGB(255, 255, 255) |
Line Style |
Description |
---|---|
LineStyle.Solid |
|
LineStyle.Dash |
|
LineStyle.Dot |
|
LineStyle.DashDot |
|
LineStyle.DashDotDot |
Align |
Description |
---|---|
Align.Left |
Aligned to the left |
Align.Center |
Aligned to the center |
Align.Right |
Aligned to the right |
Layout Style |
Description |
---|---|
LayoutStyle.Symmetric |
Symmetric layout style |
LayoutStyle.Circular |
Circular layout style |
LayoutStyle.Hierarchical |
Hierarchical layout style |
LayoutStyle.Orthogonal |
Orthogonal layout style |
LayoutStyle.Tree |
Tree layout style |
To view map layout styles in detail, refer to Layout Style.
Device Group Type |
Description |
---|---|
DeviceGroupType.Public |
A shared device group in your domain. |
DeviceGroupType.My |
A private device group in your domain. |
See Device Group for more details.