Element: Points.

Icon: 

Text: A set of points.

Description: Points is a drawing element that displays a set of points in two or three dimensions, at given coordinates of its parent drawing panel. 

The points are drawn according to coordinates relative to a bounding box with given center and size. Initially, the box is centered in the origin and has size 1 in all three coordinates. Points are not interactive.

Table of properties

Name Description Values accepted
Position and Size
Data Array with the X, Y, Z coordinates of the points relative to the bounding box in which the points are drawn.   A double array with size [n][3], where n is the number of points to draw.
X The X coordinate of the center of the bounding box. Any constant or variable of type double or int.
Y The Y coordinate of the center of the bounding box. Any constant or variable of type double or int.
Z The Z coordinate of the center of the bounding box. Any constant or variable of type double or int.
Size X The size of the bounding box in the X direction. Any constant or variable of type double or int.
Size Y The size of the bounding box in the Y direction. Any constant or variable of type double or int.
Size Z The size of the bounding box in the Z direction. Any constant or variable of type double or int.

Visibility and Interaction

Visible The visibility of the element. A boolean variable or one of the constants true or false.
Graphical Aspect
Color The color used to draw the points. An Object variable of the class java.awt.Color or one of the predefined colors: black, blue, cyan, darkGray, gray, green, lightGray, magenta, orange, pink, red, white, yellow.

A color can also be specified providing its integer RGB coordinates (between 0 and 255), plus an optional transparency coordinate.

The default value is decided by the system.

Stroke The thickness of the points. Any constant or variable of type double or int. The default value is 1.

Object variables of the class  java.awt.Stroke are also accepted.