|
The shape represent a geometric primitive, such as rectangle of star.
The following types of shapes are supported:
Shape Properties
Property
|
Name
|
Type
|
Description
|
Type
|
type
|
Integer
|
Shape type.
|
X Coordinate
|
x
|
Float
|
The leftmost point of a Rectangle, Rounded Rectangle, Ellipse/Circle, Arc, Line or Star.
|
Y Coordinate
|
y
|
Float
|
The topmost point of a Rectangle, Rounded Rectangle, Ellipse/Circle, Arc, Line or Star.
|
Width
|
width
|
Float
|
The width point of a Rectangle, Rounded Rectangle, Ellipse/Circle, or Arc;
End X - Start X distance for a Line.
|
Height
|
height
|
Float
|
The height point of a Rectangle, Rounded Rectangle, Ellipse/Circle, or Arc;
End Y - Start Y distance for a Line.
|
Arc Width
|
arcWidth
|
Float
|
Width of Rounded Rectangle's corner arc.
|
Arc Height
|
arcHeight
|
Float
|
Height of Rounded Rectangle's corner arc.
|
Start
|
start
|
Float
|
Start of an Arc shape (in degrees).
|
Extent
|
extent
|
Float
|
Extent of an Arc shape (in degrees).
|
Arc Type
|
arcType
|
Integer
|
Arc type:
| • | Open: arc with no path segments connecting the two ends of the arc segment |
| • | Chord: arc closed by drawing a straight line segment from the start of the arc segment to the end of the arc segment |
| • | Pie: arc closed by drawing straight line segments from the start of the arc segment to the center of the full ellipse and from that point to the end of the arc segment |
|
Points
|
points
|
Data Table
|
Polygon points, i.e. an array of (X, Y) points. By default, polygons point array specifies a cross shape.
|
Inner Radius
|
innerRadius
|
Float
|
Inner radius of a Star.
|
Outer Radius
|
outerRadius
|
Float
|
Outer radius of a Star.
|
Branch Count
|
branchesCount
|
Integer
|
Number of branches of a Star.
|
|