|
|
|
|
SwitchType
|
Switch type.
A_SWITCH
|
A contact switch. While pressed, SwitchValue is turned ON.
|
B_SWITCH
|
B-contact switch. While pressed, turns SwitchValue OFF.
|
ON_SWITCH
|
ON switch. When pressed, it turns SwitchValue ON.
|
OFF_SWITCH
|
OFF Switch. When pressed, it turns SwitchValue OFF.
|
ALTERNATE_SWITCH
|
Alternate switch. When pressed, it inverts SwitchValue (when OFF it turns ON, when ON it turns OFF).
|
|
SwitchValue
|
A value indicating the ON/OFF state of the switch.
|
|
|
|
|
Border
|
Whether to show the border.
|
BorderColor
|
Border color.
|
BorderWidth
|
Border thickness.
|
BorderLine
|
Border type.
SOLID
|
Straight Line
|
DASH
|
dotted line
|
DOT
|
Dotted line
|
DASHDOT
|
Dotted line + dotted line
|
DASHDOTDOT
|
Dotted line + dotted line + dotted line
|
|
|
|
|
|
X1
|
The X coordinate of endpoint 1.
|
X2
|
The X coordinate of endpoint 2.
|
Y1
|
The Y coordinate of endpoint 1.
|
Y2
|
The Y coordinate of endpoint 2.
|
|
|
|
|
LineColor
|
Line color.
|
LineColorPush
|
The line color when the button is pressed.
If not specified, it will remain unchanged as LineColor.
|
LineColorHover
|
The color of the line when the mouse passes over the control.
If not specified, it will remain unchanged as LineColor.
|
LineStyle
|
Line style.
SOLID
|
Straight Line
|
DASH
|
dotted line
|
DOT
|
Dotted line
|
DASHDOT
|
Dotted line + dotted line
|
DASHDOTDOT
|
Dotted line + dotted line + dotted line
|
|
LineWidth
|
The thickness of the line.
|
LineEndcap
|
The type of start point of the line.
FLAT
|
Flat
|
ROUND
|
circle
|
SQUARE
|
square
|
TRIANGLE
|
triangle
|
SQUARE_ANCHOR
|
Square (connection type)
|
DIAMOND_ANCHOR
|
Diamond (connection type)
|
ARROW_ANCHOR
|
Arrow
|
|
LineEndcap2
|
The type of line end.
DEFAULT
|
Same specification as LineEndcap.
|
FLAT
|
Flat
|
ROUND
|
circle
|
SQUARE
|
square
|
TRIANGLE
|
triangle
|
SQUARE_ANCHOR
|
Square (connection type)
|
DIAMOND_ANCHOR
|
Diamond (connection type)
|
ARROW_ANCHOR
|
Arrow
|
|
|
|
|
|
Alpha
|
Transparency (0 to 1).
Draws a watermark against the background. For example, specifying 0.5 makes it semi-transparent.
|
|
|