X
The X coordinates for the points of the polygon.
A one-dimensional array of type double with
the correct number of points (as indicated by the Points property),
with one value for each element. Alternatively, a constant or variable
of type double or int, that sets the
same value to all the elements of the polygon.
Y
The Y coordinates for the points of the polygon.
A one-dimensional array of type double with
the correct number of points (as indicated by the Points property),
with one value for each element. Alternatively, a constant or variable
of type double or int, that sets the
same value to all the elements of the polygon.
Position X
The base X coordinate for the whole polygon.
A constant or variable of type double or int.
Position Y
The base Y coordinate for the whole polygon.
A constant or variable of type double or int.
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.
Visible
The visibility of the element.
A boolean variable or one of the constants true or
false.
Movable
Whether the element can be moved.
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 for interaction.
This is an output only property, setting it has no effect.
A variable of type int.
Fixed Corners
The corner (or corners) that won't resize the polygon.
If a constant or variable of type int, then that corner won't resize.
If a one-dimensional array of type boolean, then each element on the array indicates whether
the corresponding corner will resize.
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.
Closed
Whether to connect the last and first points.
A boolean variable or one of the constants true or
false.
Line Color
The color used for the lines of the element.
Fill Color
The color for the interior of the polygon (if closed).
Stroke
The thickness and line style for the lines of the element.
A constant or variable of type
double
or
int indicates the thickness. Default is 1. For more sophisticated strokes,
read
about strokes.
Connected
An array of booleans that set whether each point
is connected with the previous one. This allows to create disconnected
curves.
A one-dimensional array of type boolean. Each
entry of the array indicates whether the corresponding point is connected
with the next one.
Neumatic Line
The length of a shorter line that crosses each side of the poligon.
A constant or variable of type double or int.
Start Type
The decoration at the beginning of the first line.
End Type
The decoration at the end of the last line.
Start Size
The size of the decoration at the beginning of the first line.
A constant or variable of type double or int.
End Size
The size of the decoration at the end of the last line.
A constant or variable of type double or int.