A collection of polygons.
Go to Property Listing | Method Listing
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
readonly |
The number of objects in the collection. |
Polygon add (layer:Layer, numberOfSides:Number, insetPercentage:Number, [at:LocationOptions=LocationOptions], reference:Varies Document MasterSpread Page Spread Layer, withProperties:Object)
Create a new Polygon
|
Parameter |
Type |
Description |
|---|---|---|
|
layer |
The layer on which to create the Polygon (Optional) |
|
|
numberOfSides |
The number of sides for the polygon (Optional) |
|
|
insetPercentage |
The star inset percentage for the polygon (Optional) |
|
|
at |
Location (Optional) (default: LocationOptions.UNKNOWN) |
|
|
reference |
Before/after this Polygon or at the beginning/end of this Document, Spread, Master Spread, Page or Layer. Can accept: Document, Spread, MasterSpread, Page or Layer. (Optional) |
|
|
withProperties |
Initial values for properties of the new Polygon (Optional) |
Number count ()
Displays the number of elements in the Polygon.
Document.polygons
Button.polygons
State.polygons
Layer.polygons
Spread.polygons
Page.polygons
MasterSpread.polygons
PageItem.polygons
Oval.polygons
Rectangle.polygons
GraphicLine.polygons
Polygon.polygons
Group.polygons
Cell.polygons
Table.polygons
Text.polygons
Character.polygons
Word.polygons
Line.polygons
TextColumn.polygons
Paragraph.polygons
TextStyleRange.polygons
InsertionPoint.polygons
TextFrame.polygons
Story.polygons