A collection of text frame items.
Go to Property Listing | Method Listing
Property |
Type |
Access |
Description |
---|---|---|---|
Int |
readonly |
Number of elements in the collection. |
|
readonly |
The object's container. |
||
readonly |
The class name of the object. |
TextFrameItem add ()
Create a point text frame item.
TextFrameItem areaText (textPath:PathItem, [orientation:TextOrientation=TextOrientation], [baseFrame:TextFrameItem], [postFix:Boolean=Boolean])
Create an area text frame item.
Parameter |
Type |
Description |
---|---|---|
textPath |
The path item associated with the text frame. |
|
orientation |
The orientation of the text. (default: TextOrientation.HORIZONTAL) |
|
baseFrame |
The base text frame if it has one. |
|
postFix |
Whether to postfix/prefix the new text frame to the specified base text frame. (default: true) |
TextFrameItem getByName (name:String)
Get the first element in the collection with the provided name.
Parameter |
Type |
Description |
---|---|---|
name |
TextFrameItem pathText (textPath:PathItem, [startTValue:Number=Number], [endTValue:Number=Number], [orientation:TextOrientation=TextOrientation], [baseFrame:TextFrameItem], [postFix:Boolean=Boolean])
Create an on-path text frame item.
Parameter |
Type |
Description |
---|---|---|
textPath |
The path item associated with the text frame. |
|
startTValue |
The start position of text along a path, as a value relative to the path's segments (path text only) (default: 0.0) |
|
endTValue |
The end position of text along a path, as a value relative to the path's segments (path text only) (default: 0.0) |
|
orientation |
The orientation of the text. (default: TextOrientation.HORIZONTAL) |
|
baseFrame |
The base text frame if it has one. |
|
postFix |
Whether to postfix/prefix the new text frame to the specified base text frame. (default: true) |
TextFrameItem pointText (anchor:Point, [orientation:TextOrientation=TextOrientation])
Create a point text frame item.
Parameter |
Type |
Description |
---|---|---|
anchor |
The position (coordinates) of the anchor point. |
|
orientation |
The orientation of the text. (default: TextOrientation.HORIZONTAL) |
undefined removeAll ()
Deletes all elements.