TextPath
A text object that is on a path.
Go to Property Listing | Method Listing
Methods:
addEventListener, changeGlyph, changeGrep, changeText, changeTransliterate, extractLabel, findGlyph, findGrep, findText, findTransliterate, getElements, insertLabel, remove, removeEventListener, toSource, toSpecifier
Objects:
Boolean, Characters, EventListeners, Events, FlipValues, InsertionPoints, Lines, Number, Object, Paragraphs, PathTypeAlignments, SpecialCharacters, Story, String, TextColumns, TextFrame, TextFrameContents, TextPath, TextPathEffects, TextStyleRanges, TextTypeAlignments, Texts, Words
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The halfway point between the start bracket and the end bracket. |
||
readonly |
A collection of characters. |
||
read/write |
The contents of the text frame. Can return: String, TextFrameContents enumerator or SpecialCharacters enumerator. |
||
read/write |
The end of the type on a path. Note: Additional text becomes overset text unless the text is linked to another path or text frame. |
||
readonly |
The last text frame in the thread. Can return: TextFrame or TextPath. |
||
readonly |
A collection of event listeners. |
||
readonly |
A collection of events. |
||
read/write |
The flip effect applied to the type on a path. |
||
readonly |
The unique ID of the TextPath. |
||
readonly |
The index of the TextPath within its containing object. |
||
readonly |
A collection of insertion points. |
||
readonly |
Returns true if the object specifier resolves to valid objects. |
||
read/write |
A property that can be set to any string. |
||
readonly |
A collection of lines. |
||
read/write |
The name of the TextPath; this is an alias to the TextPath's label property. |
||
TextPathCanalsoaccept:NothingEnum |
read/write |
The next text frame in the thread. Can return: TextFrame or TextPath. Can also accept: NothingEnum enumerator. |
|
readonly |
If true, the story has overset text. |
||
readonly |
A collection of paragraphs. |
||
readonly |
The parent of the TextPath (a SplineItem, Polygon, GraphicLine, Rectangle, Oval, TextFrame, EndnoteTextFrame or EPSText). |
||
readonly |
The story that contains the text. |
||
read/write |
The alignment of the type on a path. |
||
read/write |
The effect applied to the type on a path. |
||
read/write |
The spacing applied to the type on a path. |
||
TextPathCanalsoaccept:NothingEnum |
read/write |
The previous text frame in the thread. Can return: TextFrame or TextPath. Can also accept: NothingEnum enumerator. |
|
read/write |
A property that allows setting of several properties at the same time. |
||
read/write |
The location of the start of the type on the path, expressed in points. Note: 0 is the first point on the path. |
||
readonly |
The first text frame in the thread. Can return: TextFrame or TextPath. |
||
read/write |
The alignment applied to the type on a path. |
||
readonly |
A collection of text columns. |
||
readonly |
The index of the text frame within the story. |
||
readonly |
A collection of text style ranges. |
||
readonly |
A collection of text objects. |
||
readonly |
A collection of words. |
Constants/Events
Method Listing
EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Adds an event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The event type. |
|
handler |
JavaScriptFunction |
The event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
Text changeGlyph (reverseOrder:Boolean)
Finds glyphs that match the find what value and replaces the glyphs with the change to value.
Parameter |
Type |
Description |
---|---|---|
reverseOrder |
If true, returns the results in reverse order. (Optional) |
Text changeGrep (reverseOrder:Boolean)
Finds text that matches the find what value and replaces the text with the change to value.
Parameter |
Type |
Description |
---|---|---|
reverseOrder |
If true, returns the results in reverse order. (Optional) |
Text changeText (reverseOrder:Boolean)
Finds text that matches the find what value and replaces the text with the change to value.
Parameter |
Type |
Description |
---|---|---|
reverseOrder |
If true, returns the results in reverse order. (Optional) |
Text changeTransliterate (reverseOrder:Boolean)
Finds text that matches the find character type value and replaces the text with the change character type value.
Parameter |
Type |
Description |
---|---|---|
reverseOrder |
If true, returns the results in reverse order. (Optional) |
String extractLabel (key:String)
Gets the label value associated with the specified key.
Parameter |
Type |
Description |
---|---|---|
key |
The key. |
Text findGlyph (reverseOrder:Boolean)
Finds glyphs that match the find what value.
Parameter |
Type |
Description |
---|---|---|
reverseOrder |
If true, returns the results in reverse order. (Optional) |
Text findGrep (reverseOrder:Boolean)
Finds text that matches the find what value.
Parameter |
Type |
Description |
---|---|---|
reverseOrder |
If true, returns the results in reverse order. (Optional) |
Text findText (reverseOrder:Boolean)
Finds text that matches the find what value.
Parameter |
Type |
Description |
---|---|---|
reverseOrder |
If true, returns the results in reverse order. (Optional) |
Text findTransliterate (reverseOrder:Boolean)
Finds text that matches the find character type value.
Parameter |
Type |
Description |
---|---|---|
reverseOrder |
If true, returns the results in reverse order. (Optional) |
TextPath getElements ()
Resolves the object specifier, creating an array of object references.
undefined insertLabel (key:String, value:String)
Sets the label to the value associated with the specified key.
undefined remove ()
Deletes the TextPath.
Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Removes the event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The registered event type. |
|
handler |
JavaScriptFunction |
The registered event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
String toSource ()
Generates a string which, if executed, will return the TextPath.
String toSpecifier ()
Retrieves the object specifier.
Object of
TextFrame.startTextFrame
EndnoteTextFrame.startTextFrame
TextPath.startTextFrame
TextFrame.endTextFrame
EndnoteTextFrame.endTextFrame
TextPath.endTextFrame
Character.parent
Event.parent
EventListener.parent
InsertionPoint.parent
Line.parent
MutationEvent.parent
Paragraph.parent
Text.parent
TextColumn.parent
TextStyleRange.parent
Word.parent