Recent Changes - Search:

Information

Installation

Documentation

ElementsPolygon

 An interactive curve or polygon.

Useful methods

  • (This list deliberately left empty.)

Properties

Input
NameDescriptionValues acceptedDefault
PointsThe number of points of the element.A integer value. 
Pos XThe X coordinate for the points.A variable or constant of type double, int or double[]. 
Pos YThe Y coordinate for the points.A variable or constant of type double, int or double[]. 
Position and Size
NameDescriptionValues acceptedDefault
Pos XThe base X coordinate for the element.A constant or variable of type double or int. 
Pos YThe base Y coordinate for the element.A constant or variable of type double or int. 
Position ArrayThe array with the coordinates of the element.A double array. 
Size XThe size of the element in the X direction.A constant or variable of type double or int. 
Size YThe size of the element in the Y direction.A constant or variable of type double or int. 
Size ArrayThe array with the size of the element in each coordinate.A double array. 
Visibility and Interaction
NameDescriptionValues acceptedDefault
VisibleThe visibility of the element.A boolean variable or one of the constants true or false. 
MeasuredWhether the element affects its parent panel’s autoscaling.A boolean variable or one of the constants true or false. 
DraggableWhether the element can be dragged.A boolean variable or one of the constants true or false. 
ResizableWhether the element can be resized.A boolean variable or one of the constants true or false. 
Point selectedThe index of the point selected.A boolean variable or one of the constants true or false. 
Fixed cornersThe corner (or corners) that won’t resize the polygon.An integer value or a boolean array with true or false values. 
On PressThe action to invoke when the element is pressed.The Java code to invoke for the action. 
On DragThe action to invoke when the element is dragged.The Java code to invoke for the action. 
On ReleaseThe action to invoke when the element is released.The Java code to invoke for the action. 
On EnterThe action to invoke when the mouse enters the element.The Java code to invoke for the action. 
On ExitThe action to invoke when the mouse leaves the element.The Java code to invoke for the action. 
Graphical Aspect
NameDescriptionValues acceptedDefault
ClosedWhether the polygon is closed.A boolean variable or one of the constants true or false. 
Line ColorThe color used for the lines of the element.Use the editor provided or read about colors. 
Fill ColorThe color used to fill the element.Use the editor provided or read about colors. The special value null draws a hollow element. 
StrokeThe thickness and line style for the lines of the element.A constant or variable of type double, int or an Object. 
Marker shapeThe type of marker to draw.Use the editor provided. 
Marker sizeSize of the marker of the line.A constant or variable of type int or int[]. 
Marker colorThe color for the markers edges.Use the editor provided. 
Marker fillThe color for the markers interiors.Use the editor provided. 
Configuration
NameDescriptionValues acceptedDefault
ConnectedWhether to connect each point to the next one.A boolean array with true or false values. 
Neumatic LineThe length of a shorter line that crosses each side of the poligon.A constant or variable of type int or double. 
Start TypeThe decoration at the beginning of the first line.Use the editor provided to make your choice or type an integer. 
End TypeThe decoration at the end of the last line.Use the editor provided to make your choice or type an integer. 
Start SizeThe size of the decoration at the beginning of the first line.A constant or variable of type int or double. 
End SizeThe size of the decoration at the end of the last line.A constant or variable of type int or double. 
Edit - History - Print - Recent Changes - Search
Page last modified on November 28, 2010, at 08:00 PM