A shape is a sequence of lines and curves to define a 2-dimensional item. Shapes can be drawn as:
To draw shapes use one of these tools:
Shape Properties define how the shape appears on the graphic page. For example:
When one or more shapes are selected, the Shape Properties are shown in the Properties Window. To make changes, enter new values for the appropriate property.
All Shapes support these properties:
Identification | ||
---|---|---|
Label | An optional label to attach to the item. | |
Properties | ||
Comment | A place to store notes and information about the item. The comment property has no effect on how the item is displayed or behaves. | |
Style |
How the shape is drawn:
| |
Tooltip |
The text to display in a tooltip.
To enter multiple lines of text, Click the Browse button ![]() Note: A data binding configured in DataBindTooltip will override this property. | |
Visible | The initial visibility in run mode. To dynamically display or hide the item use one of these: | |
Line Attributes | ||
LineWidth | The width of the line in canvas units. | |
LineColor | The line color. See Color Values for the different ways you can configure a color. This property supports the color value 'Auto', which selects a contrast color to the graphic page background color. | |
LineJoinType | How thick lines are joined: Bevel, Miter, or Round. | |
LineJoinMiterLimit | How far to project the miter when the LineJoinType is Miter. The miter can be very long when the angle between two connected lines is small. This property defines the upper limit for miter length. LineJoinMiterLimit uses canvas units. | |
LineCapStart | For thick lines how the start point is terminated. Does not apply to closed shapes. | |
LineCapEnd | For thick lines how the end point is terminated. Does not apply to closed shapes. | |
Fill Attributes | ||
FillColor | Defines the fill color of the shape. Fill colors can be solid or a gradient fill with up to 6 gradient stops. | |
FillColorGradientType |
When FillColor is a gradient color, this property defines the type of gradient:
| |
FillGradientAngle |
For a Linear Gradient, the angle of the gradient fill (in degrees).
The angle is measured in relation to vertical.
| |
Line Blink Attributes | ||
LineBlink | Whether the Shape Line blinks. A data binding configured in DataBindLineBlink will override this property. | |
LineBlinkColor | The alternate line color when the LineBlinkMode is Alternate Color. | |
LineBlinkMode |
Defines how the Shape Line blinks. The options are:
| |
LineBlinkSpeed |
Defines how fast the Shape Line blinks. The options are:
| |
Fill Blink Attributes | ||
FillBlink | Whether the Shape Fill blinks. A data binding configured in DataBindFillBlink will override this property. | |
FillBlinkColor |
The alternate fill color when the FillBlinkMode is Alternate Color.
This property can be a solid color, or a gradient fill color with up to 6 gradient stops.
Notes:
| |
FillBlinkMode |
Defines how the Shape Fill blinks. The options are:
| |
FillBlinkSpeed |
Defines how fast the Shape Fill blinks. The options are:
| |
General Data Bindings | ||
DataBindDisableActions |
A Data Binding to disable all actions on the item. If DataBindDisableActions evaluates to TRUE, actions on the item are disabled. Click the Browse button ![]() | |
DataBindTooltip |
A Data Binding which sets the tooltip to display if a user hovers the cursor over the item.
Note: Tooltips are not currently supported in the Android Operator Interface. Click the Browse button ![]() | |
Size Position Data Bindings | ||
ClipRegionHorizontal | When the DataBindClipHorizontal data binding is defined, this value chooses whether the left or right side of the item is clipped. | |
ClipRegionVertical | When the DataBindClipVertical data binding is defined, this value chooses whether the top or bottom of the item is clipped. | |
DataBindClipHorizontal |
A Data Binding which defines how much of the item to clip horizontally.
A value less than or equal to zero clips the entire item.
A value greater than or equal to one does not clip the item.
Values between zero and one clip the corresponding portion of the item. Click the Browse button ![]() | |
DataBindClipVertical |
A Data Binding which defines how much of the item to clip vertically.
A value less than or equal to zero clips the entire item.
A value greater than or equal to one does not clip the item.
Values between zero and one clip the corresponding portion of the item. Click the Browse button ![]() | |
DataBindOffsetX |
A Data Binding which moves the item in the horizontal direction.
The offset is in canvas units. Click the Browse button ![]() | |
DataBindOffsetY |
A Data Binding which moves the image in the vertical direction.
The offset is in canvas units. Click the Browse button ![]() | |
DataBindRotation |
A Data Binding which rotates the shape from its original position by a number of degrees. Click the Browse button ![]() | |
DataBindRotationSpeed |
A Data Binding which causes the shape to rotate a number of degrees per second. Click the Browse button ![]() | |
DataBindScaleX |
A Data Binding which resizes the image in the horizontal direction.
A value less than 1.0 shrinks the item horizontally. A value greater than 1.0 expands the item horizontally. Click the Browse button ![]() | |
DataBindScaleY |
A Data Binding which resizes the image in the vertical direction.
A value less than 1.0 shrinks the item vertically. A value greater than 1.0 expands the item vertically. Click the Browse button ![]() | |
Fill Data Bindings | ||
DataBindFillBlink |
A Data Binding that causes the shape fill to blink.
If DataBindBlink evaluates to TRUE, the shape fill will blink. Click the Browse button ![]() | |
DataBindFillColor |
A Data Binding which determines the fill color. Click the Browse button ![]() | |
DataBindFillVisible |
A Data Binding which hides the shape fill. If DataBindVisible is defined, and evaluates to FALSE, the shape fill is hidden. Click the Browse button ![]() | |
FillColorDataBoundStops | Defines which gradient stops are changed by the DataBindFillColor data binding. | |
Line Data Bindings | ||
DataBindLineBlink |
A Data Binding that causes the shape line to blink.
If DataBindBlink evaluates to TRUE, the shape line will blink. Click the Browse button ![]() | |
DataBindLineColor |
A Data Binding which determines the line color. Click the Browse button ![]() | |
DataBindLineVisible |
A Data Binding which hides the shape line. If DataBindVisible is defined, and evaluates to FALSE, the shape line is hidden. Click the Browse button ![]() | |
Actions | ||
ActionButtonDown |
An Operator Action script to run when the operator presses the left mouse button down, or touches the display. Click the Browse button ![]() | |
ActionButtonShortcut |
A keyboard shortcut to emulate a button press on the item.
Click the Browse button ![]() | |
ActionButtonUp |
An Operator Action script to run when the operator releases the left mouse button, or removes touch from the display. Click the Browse button ![]() | |
ActionButtonWhileDown |
An Operator Action script to run at intervals while the operator holds the left mouse button down, or continuously touches the display. Click the Browse button ![]() | |
ActionDoubleClick |
An Operator Action script to run when the operator double-clicks the left mouse button, or double taps the display. Click the Browse button ![]() | |
ActionContextMenu |
An Operator Action script to run when the operator clicks the right mouse button, or does a long press on the display. Click the Browse button ![]() | |
WhileDownInterval | The interval between each execution of the ActionButtonWhileDown script. |
The LineJoinType property defines how thick lines (more than 3 pixels wide) are drawn:
Bevel | ![]() |
---|---|
Miter | ![]() |
Round | ![]() |
For a complete description of all data binding options.
For the different tools available to edit graphic pages.
For information about editing graphic pages in Fernhill SCADA.
For the meaning of terms used in Fernhill SCADA.