PathItems
A collection of path items.
Properties
| Name | Type |
Access | Description |
|---|
|
Int |
readonly |
Number of elements in the collection. |
|
The |
readonly |
The object's container. |
|
String |
readonly |
The class name of the object. |
Methods
Create a path.
→ PathItem
Create an elliptical path item.
top?
Number
The ellipse's bounds.
left?
Number
The ellipse's bounds.
width?
Number
The ellipse's bounds.
height?
Number
The height of the ellipse.
reversed?
Boolean
Is the ellipse path reversed?
inscribed?
Boolean
Is the ellipse path inscribed?
Get the first element in the collection with the provided name.
→ PathItem
Used to create a regular polygon path item. Not for path item access.
radius?
Number
The radius of the polygon points.
sides?
Int32
The number of sides on the polygon.
reversed?
Boolean
Is the polygon path reversed?
→ PathItem
Used to create a rectangular path item. Not for path item access.
top
Number
The top coordinate of the rectangle's bounds.
left
Number
The left coordinate of the rectangle's bounds.
width
Number
The width of the rectangle.
height
Number
The height of the rectangle.
reversed?
Boolean
Is the rectangle path reversed?
→ void
Deletes all elements.
→ PathItem
Used to create a rounded-corner rectangular path item. Not for path item access.
horizontalRadius?
Number
Horizontal corner radius.
verticalRadius?
Number
Vertical corner radius.
reversed?
Boolean
Is the rectangle path reversed?
→ PathItem
Used to create a star-shaped path item. Not for path item access.
radius?
Number
The outside radius of the star points.
innerRadius?
Number
The inside radius of the star points.
points?
Int32
The number of points on the star.
reversed?
Boolean
Is the star path reversed? Object of 4
Properties elsewhere that hold a PathItems.