Cambios Recientes - Buscar:

Información

Instalación

Documentación

Sugerencias de usuarios

 

Polígono

La página “ElementsPolygon2D” no existe en Castellano todavía.
Puede ver la página correspondiente en Inglés (si existe) aquí debajo


 

Properties

Polygon2D  
Input  
NameDescriptionValues acceptedDefault
DataThe data for the element.A double[nPoints][2] array. Each entry in the data array corresponds to one vertex. The coordinates are relative to the polygon’s position and size. 0.1,0.0}, {0.1,0.1} }. Alternatively, the X data and Y data can be given instead.
X dataThe X coordinates for the element.A double[nPoints] array. Each entry in the data array provides the X coordinate for one vertex. The coordinates are relative to the polygon’s position and size. If a single double value is given, the same value is used for all vertex of the polygon.0
Y dataThe Y coordinates for the element.A double[nPoints] array. Each entry in the data array provides the Y coordinate for one vertex. The coordinates are relative to the polygon’s position and size. If a single double value is given, the same value is used for all vertex of the polygon.0
Position and Size  
NameDescriptionValues acceptedDefault
Pos XThe X coordinate for the element.A constant or variable of type double or int. 
Pos YThe Y coordinate for the element.A constant or variable of type double or int. 
Position []The double[] 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 []The double[] array with the size of the shape in each direction.A double array. 
TransformThe transformation to apply to this element.Use the editor provided or read more about transforms. 
Visibility and Interaction  
NameDescriptionValues acceptedDefault
VisibleThe visibility of the element.A boolean variable or one of the constants true or false. 
DraggableWhether the element can be moved.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. 
Drag GroupWhether dragging the element affects its group.A boolean variable or one of the constants true or false. 
Resize GroupWhether resizing the element affects its group.A boolean variable or one of the constants true or false. 
SensitivityThe size of the hot spot (in pixels).A constant or variable of type int, 0 makes the full particle the hot spot. 
Point SelectedThe index of the point selected.A constant or variable of type double or int. 
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. If the polygon is closed, its last point will be connected to the first one and the interior will be filled (unless the fill color of the style is set to null).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. 
Line WidthThe thickness for the lines of the element.A constant or variable of type double or int indicates the thickness.1
Draw LinesWhether to draw the lines.A boolean variable or one of the constants true or false. 
Draw FillWhether to fill the element.A boolean variable or one of the constants true or false. 

 

 

 

 

 



Editar - Historia - Imprimir - Cambios Recientes - Buscar
Última modificación de la página el 07 septiembre 2010 a las 00h12