Position and Size |
Name | Description | Values accepted | Default |
X | The X coordinate for the element. | A constant or variable. | - |
Y | The Y coordinate for the element. | A constant or variable. | - |
Position | The double[] array with the coordinates of the shape. | A double array. | - |
PixelPosition | The double[] array with the coordinates of the shape. | A double array. | - |
SizeX | The size of the element in the X direction. | A constant or variable. | - |
SizeY | The size of the element in the Y direction. | A constant or variable. | - |
Size | The double[] array with the size of the shape in each direction. | A double array. | - |
PixelSize | Whether the size of the element is given in pixels. By default (i.e. false) the size of the element is relative to its parent panel coordinate system. | A boolean variable or one of the constants true or false. | - |
Rotate | The rotation for the element. | A constant or variable. | - |
Transformation | The transformation to apply to this element. | An affine transform, a constant or variable, a double[] or an Object. About 2D transformations | - |
Visibility and Interaction |
Name | Description | Values accepted | Default |
Visibility | 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. | - |
EnabledPosition | Whether the element affects its parent panel's autoscaling. | A boolean variable or one of the constants true or false. | - |
MoveGroup | Whether the element affects its parent panel's autoscaling. | A boolean variable or one of the constants true or false. | - |
EnabledGroup | Whether the element can be moved. | A boolean variable or one of the constants true or false. | - |
ResizeGroup | Whether dragging the element affects its group. | A boolean variable or one of the constants true or false. | - |
Sensitivity | The size of the hot spot (in pixels). | A constant or variable of type int, 0 makes the full particle the hot spot. | - |
OnEnter | The action to invoke when the mouse enters the element. | The JavaScript code to invoke for the action. | - |
OnExit | The action to invoke when the mouse leaves the element. | The JavaScript code to invoke for the action. | - |
OnPress | The action to invoke when the element is pressed. | The JavaScript code to invoke for the action. | - |
OnDrag | The action to invoke when the element is dragged. | The JavaScript code to invoke for the action. | - |
OnDoubleClick | The action to invoke when double-clicked. | The JavaScript code to invoke for the action. | - |
Graphical Aspect |
Name | Description | Values accepted | Default |
ShapeType | The drawing style for the element. | Use the editor provided or read about particle styles. "NONE", "ELLIPSE", "RECTANGLE", "ROUND_RECTANGLE", "WHEEL" | "ELLIPSE" |
CornerRadius | Corner radius. | Use the editor provided or read about particle styles. | - |
RelativePosition | Relative position. | Use the editor provided or read about particle styles. "CENTERED", "NORTH", "SOUTH", "EAST", "WEST", "NORTH_EAST", "NORTH_WEST", "SOUTH_EAST", "SOUTH_WEST" | "CENTERED" |
Line Color | The color used for the lines of the element. | Use the editor provided or read about colors. | - |
Line Width | The thickness of the lines of the element. | A constant or variable of type double or int indicating the thickness. | 1 |
Draw Lines | Whether to draw the lines. | A boolean variable or one of the constants true or false. | - |
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. | - |
Draw Fill | Whether to fill the element. | A boolean variable or one of the constants true or false. | - |
Attributes | Object. | Object. | |