Adobe InDesign CS (3.0) Object Model JS: Polygons

InDesign CS

Class

Polygons

 A collection of polygons.

QuickLinks

add, count

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe 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

ParameterTypeDescription
layerLayerThe layer on which to create the Polygon (Optional)
numberOfSidesnumberThe number of sides for the polygon (Optional)
insetPercentagenumberThe star inset percentage for the polygon (Optional)
atLocationOptions:
LocationOptions.BEFORE
LocationOptions.AFTER
LocationOptions.AT_END
LocationOptions.AT_BEGINNING
LocationOptions.UNKNOWN
Location (Optional) (default: LocationOptions.UNKNOWN)
referenceDocument
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)
withPropertiesObjectInitial 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.3dContents :: Index