A layer.
Go to Property Listing | Method Listing
Boolean, Buttons, FormFields, Graphic, GraphicLines, Groups, Guides, Number, Object, Ovals, PageItem, PageItems, Polygons, Rectangles, String, TextFrames, UIColors,
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
readonly |
Lists all graphics contained by the Layer. |
||
|
readonly |
Lists all page items contained by the Layer. |
||
|
readonly |
A collection of buttons. |
||
|
readonly |
A collection of form fields. |
||
|
readonly |
A collection of graphic lines. |
||
|
readonly |
A collection of groups. |
||
|
readonly |
A collection of guides. |
||
|
readonly |
The unique ID of the Layer. |
||
|
read/write |
If true, text wrap settings applied to objects on the layer will not affect text on other layers when the layer is hidden. |
||
|
readonly |
The index of the Layer within its containing object. |
||
|
read/write |
A property that can be set to any string. |
||
|
Array of 3 Reals (0 - 255) |
read/write |
The color of the layer, specified either as an array of three doubles, each in the range 0 to 255 and representing R, G, and B values, or as a UI color. Can return: Array of 3 Reals (0 - 255) or UIColors enumerator. |
|
|
read/write |
If true, the guide positions on the layer are locked. |
||
|
read/write |
If true, the Layer is locked. |
||
|
read/write |
The name of the Layer. |
||
|
readonly |
A collection of ellipses. |
||
|
readonly |
The page items collection, which can be used to process all page items in a container (such as a document, page, or group), regardless of type. |
||
|
readonly |
The parent of the Layer (a Document). |
||
|
readonly |
A collection of polygons. |
||
|
read/write |
A property that allows setting of several properties at the same time. |
||
|
readonly |
A collection of rectangles. |
||
|
read/write |
If true, guides are visible on the layer. |
||
|
readonly |
A collection of text frames. |
||
|
read/write |
If true, the Layer is visible. |
Layer duplicate ()
Duplicates the Layer.
String extractLabel (key:String)
Gets the label value associated with the specified key.
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
The key. |
undefined insertLabel (key:String, value:String)
Sets the label to the value associated with the specified key.
Layer merge (with:Array of Layer)
Merges the layer with other layer(s).
Layer move (to:LocationOptions, reference:Layer)
Moves the Layer to the specified location.
|
Parameter |
Type |
Description |
|---|---|---|
|
to |
The location relative to the reference object or within the containing object. |
|
|
reference |
The reference object. Note: Required when the to value specifies before or after. (Optional) |
undefined remove ()
Deletes the Layer.
LayoutWindow.activeLayer
Button.itemLayer
FormField.itemLayer
GraphicLine.itemLayer
Group.itemLayer
Guide.itemLayer
Movie.itemLayer
Oval.itemLayer
PageItem.itemLayer
Polygon.itemLayer
Rectangle.itemLayer
Sound.itemLayer
TextFrame.itemLayer
Button.parent
FormField.parent
GraphicLine.parent
Group.parent
Guide.parent
Oval.parent
PageItem.parent
Polygon.parent
Rectangle.parent
TextFrame.parent