Class
A collection of polygons.
add, count
Polygons
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
Polygon add ([layer:
Layer][, numberOfSides:
number][, insetPercentage:
number][, at:
LocationOptions=LocationOptions.UNKNOWN][, reference:
any][, withProperties:
Object])
Create a new Polygon
Parameter | Type | Description |
---|---|---|
layer | Layer | The layer on which to create the Polygon (Optional) |
numberOfSides | number | The number of sides for the polygon (Optional) |
insetPercentage | number | The star inset percentage for the polygon (Optional) |
at | LocationOptions: LocationOptions.BEFORE LocationOptions.AFTER LocationOptions.AT_END LocationOptions.AT_BEGINNING LocationOptions.UNKNOWN | Location (Optional) (default: LocationOptions.UNKNOWN) |
reference | Document Layer MasterSpread Page Spread | 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 | Object | Initial values for properties of the new Polygon (Optional) |
number count ()
Displays the number of elements in the Polygon.
Element of
Button.polygons
Cell.polygons
Character.polygons
Document.polygons
GraphicLine.polygons
Group.polygons
InsertionPoint.polygons
Layer.polygons
Line.polygons
MasterSpread.polygons
Oval.polygons
Page.polygons
PageItem.polygons
Paragraph.polygons
Polygon.polygons
Rectangle.polygons
Spread.polygons
State.polygons
Story.polygons
Table.polygons
Text.polygons
TextColumn.polygons
TextFrame.polygons
TextStyleRange.polygons
Word.polygons
Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |