Polygon
|
| Input
|
| Name
| Description
| Values accepted
| Default
|
| Points
| The number of points of the element.
| A integer value.
|
|
| Pos X
| The X coordinate for the points.
| A variable or constant of type double, int or double[].
|
|
| Pos Y
| The Y coordinate for the points.
| A variable or constant of type double, int or double[].
|
|
| Position and Size
|
| Name
| Description
| Values accepted
| Default
|
| Pos X
| The base X coordinate for the element.
| A constant or variable of type double or int.
|
|
| Pos Y
| The base Y coordinate for the element.
| A constant or variable of type double or int.
|
|
| Position Array
| The array with the coordinates of the element.
| A double array.
|
|
| Size X
| The size of the element in the X direction.
| A constant or variable of type double or int.
|
|
| Size Y
| The size of the element in the Y direction.
| A constant or variable of type double or int.
|
|
| Size Array
| The array with the size of the element in each coordinate.
| A double array.
|
|
| Visibility and Interaction
|
| Name
| Description
| Values accepted
| Default
|
| Visible
| The visibility of the element.
| A boolean variable or one of the constants true or false.
|
|
| Measured
| Whether the element affects its parent panel’s autoscaling.
| A boolean variable or one of the constants true or false.
|
|
| Draggable
| Whether the element can be dragged.
| A boolean variable or one of the constants true or false.
|
|
| Resizable
| Whether the element can be resized.
| A boolean variable or one of the constants true or false.
|
|
| Point selected
| The index of the point selected.
| A boolean variable or one of the constants true or false.
|
|
| Fixed corners
| The corner (or corners) that won’t resize the polygon.
| An integer value or a boolean array with true or false values.
|
|
| On Press
| The action to invoke when the element is pressed.
| The Java code to invoke for the action.
|
|
| On Drag
| The action to invoke when the element is dragged.
| The Java code to invoke for the action.
|
|
| On Release
| The action to invoke when the element is released.
| The Java code to invoke for the action.
|
|
| On Enter
| The action to invoke when the mouse enters the element.
| The Java code to invoke for the action.
|
|
| On Exit
| The action to invoke when the mouse leaves the element.
| The Java code to invoke for the action.
|
|
| Graphical Aspect
|
| Name
| Description
| Values accepted
| Default
|
| Closed
| Whether the polygon is closed.
| A boolean variable or one of the constants true or false.
|
|
| Line Color
| The color used for the lines of the element.
| Use the editor provided or read about colors.
|
|
| Fill Color
| The color used to fill the element.
| Use the editor provided or read about colors. The special value null draws a hollow element.
|
|
| Stroke
| The thickness and line style for the lines of the element.
| A constant or variable of type double, int or an Object.
|
|
| Marker shape
| The type of marker to draw.
| Use the editor provided.
|
|
| Marker size
| Size of the marker of the line.
| A constant or variable of type int or int[].
|
|
| Marker color
| The color for the markers edges.
| Use the editor provided.
|
|
| Marker fill
| The color for the markers interiors.
| Use the editor provided.
|
|
| Configuration
|
| Name
| Description
| Values accepted
| Default
|
| Connected
| Whether to connect each point to the next one.
| A boolean array with true or false values.
|
|
| Neumatic Line
| The length of a shorter line that crosses each side of the poligon.
| A constant or variable of type int or double.
|
|
| Start Type
| The decoration at the beginning of the first line.
| Use the editor provided to make your choice or type an integer.
|
|
| End Type
| The decoration at the end of the last line.
| Use the editor provided to make your choice or type an integer.
|
|
| Start Size
| The size of the decoration at the beginning of the first line.
| A constant or variable of type int or double.
|
|
| End Size
| The size of the decoration at the end of the last line.
| A constant or variable of type int or double.
|
|