A text object that is on a path.
Go to Property Listing | Method Listing
findText, changeText, findGrep, changeGrep, findGlyph, changeGlyph, findTransliterate, changeTransliterate, remove, insertLabel, extractLabel, toSource, getElements, toSpecifier, addEventListener, removeEventListener
Boolean, Characters, EPSText, EventListeners, Events, FlipValues, GraphicLine, InsertionPoints, Lines, NothingEnum, Number, Object, Oval, Paragraphs, PathTypeAlignments, Polygon, Rectangle, SpecialCharacters, SplineItem, Story, String, TextColumns, TextFrame, TextFrameContents, TextPath, TextPathEffects, TextStyleRanges, TextTypeAlignments, Texts, Words,
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
centerBracket |
readonly |
The halfway point between the start bracket and the end bracket. |
|
|
characters |
readonly |
A collection of characters. |
|
|
contents |
TextFrameContents.PLACEHOLDER_TEXT TextFrameContents.PLACEHOLDER_TEXT_ARABIC TextFrameContents.PLACEHOLDER_TEXT_HEBREW TextFrameContents.PLACEHOLDER_TEXT_CYRILLIC TextFrameContents.PLACEHOLDER_TEXT_GREEK SpecialCharacters.AUTO_PAGE_NUMBER SpecialCharacters.NEXT_PAGE_NUMBER SpecialCharacters.PREVIOUS_PAGE_NUMBER SpecialCharacters.SECTION_MARKER SpecialCharacters.BULLET_CHARACTER SpecialCharacters.COPYRIGHT_SYMBOL SpecialCharacters.DEGREE_SYMBOL SpecialCharacters.ELLIPSIS_CHARACTER SpecialCharacters.FORCED_LINE_BREAK SpecialCharacters.PARAGRAPH_SYMBOL SpecialCharacters.REGISTERED_TRADEMARK SpecialCharacters.SECTION_SYMBOL SpecialCharacters.TRADEMARK_SYMBOL SpecialCharacters.RIGHT_INDENT_TAB SpecialCharacters.INDENT_HERE_TAB SpecialCharacters.EM_DASH SpecialCharacters.EN_DASH SpecialCharacters.DISCRETIONARY_HYPHEN SpecialCharacters.NONBREAKING_HYPHEN SpecialCharacters.END_NESTED_STYLE SpecialCharacters.DOUBLE_LEFT_QUOTE SpecialCharacters.DOUBLE_RIGHT_QUOTE SpecialCharacters.SINGLE_LEFT_QUOTE SpecialCharacters.SINGLE_RIGHT_QUOTE SpecialCharacters.EM_SPACE SpecialCharacters.EN_SPACE SpecialCharacters.FLUSH_SPACE SpecialCharacters.HAIR_SPACE SpecialCharacters.NONBREAKING_SPACE SpecialCharacters.THIN_SPACE SpecialCharacters.FIGURE_SPACE SpecialCharacters.PUNCTUATION_SPACE SpecialCharacters.COLUMN_BREAK SpecialCharacters.FRAME_BREAK SpecialCharacters.PAGE_BREAK SpecialCharacters.ODD_PAGE_BREAK SpecialCharacters.EVEN_PAGE_BREAK SpecialCharacters.FOOTNOTE_SYMBOL SpecialCharacters.LEFT_TO_RIGHT_EMBEDDING SpecialCharacters.RIGHT_TO_LEFT_EMBEDDING SpecialCharacters.POP_DIRECTIONAL_FORMATTING SpecialCharacters.LEFT_TO_RIGHT_OVERRIDE SpecialCharacters.RIGHT_TO_LEFT_OVERRIDE SpecialCharacters.DOTTED_CIRCLE SpecialCharacters.ZERO_WIDTH_JOINER SpecialCharacters.TEXT_VARIABLE SpecialCharacters.SINGLE_STRAIGHT_QUOTE SpecialCharacters.DOUBLE_STRAIGHT_QUOTE SpecialCharacters.DISCRETIONARY_LINE_BREAK SpecialCharacters.ZERO_WIDTH_NONJOINER SpecialCharacters.THIRD_SPACE SpecialCharacters.QUARTER_SPACE SpecialCharacters.SIXTH_SPACE SpecialCharacters.FIXED_WIDTH_NONBREAKING_SPACE SpecialCharacters.HEBREW_MAQAF SpecialCharacters.HEBREW_GERESH SpecialCharacters.HEBREW_GERSHAYIM SpecialCharacters.ARABIC_KASHIDA SpecialCharacters.ARABIC_COMMA SpecialCharacters.ARABIC_SEMICOLON SpecialCharacters.ARABIC_QUESTION_MARK SpecialCharacters.LEFT_TO_RIGHT_MARK SpecialCharacters.RIGHT_TO_LEFT_MARK SpecialCharacters.HEBREW_SOF_PASUK |
read/write |
The contents of the text frame. Can return: String, TextFrameContents enumerator or SpecialCharacters enumerator. |
|
endBracket |
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. |
|
|
endTextFrame |
readonly |
The last text frame in the thread. Can return: TextFrame or TextPath. |
|
|
eventListeners |
readonly |
A collection of event listeners. |
|
|
events |
readonly |
A collection of events. |
|
|
flipPathEffect |
FlipValues.NOT_FLIPPED FlipValues.FLIPPED FlipValues.UNDEFINED_FLIP_VALUE |
read/write |
The flip effect applied to the type on a path. |
|
id |
readonly |
The unique ID of the TextPath. |
|
|
index |
readonly |
The index of the TextPath within its containing object. |
|
|
insertionPoints |
readonly |
A collection of insertion points. |
|
|
isValid |
readonly |
Returns true if the object specifier resolves to valid objects. |
|
|
label |
read/write |
A property that can be set to any string. |
|
|
lines |
readonly |
A collection of lines. |
|
|
name |
read/write |
The name of the TextPath; this is an alias to the TextPath's label property. |
|
|
nextTextFrame |
NothingEnum.NOTHING |
read/write |
The next text frame in the thread. Can return: TextFrame or TextPath. Can also accept: NothingEnum enumerator. |
|
overflows |
readonly |
If true, the story has overset text. |
|
|
paragraphs |
readonly |
A collection of paragraphs. |
|
|
parent |
readonly |
The parent of the TextPath (a SplineItem, Polygon, GraphicLine, Rectangle, Oval, TextFrame or EPSText). |
|
|
parentStory |
readonly |
The story that contains the text. |
|
|
pathAlignment |
PathTypeAlignments.TOP_PATH_ALIGNMENT PathTypeAlignments.BOTTOM_PATH_ALIGNMENT PathTypeAlignments.CENTER_PATH_ALIGNMENT |
read/write |
The alignment of the type on a path. |
|
pathEffect |
TextPathEffects.RAINBOW_PATH_EFFECT TextPathEffects.SKEW_PATH_EFFECT TextPathEffects.RIBBON_PATH_EFFECT TextPathEffects.STAIR_STEP_PATH_EFFECT TextPathEffects.GRAVITY_PATH_EFFECT |
read/write |
The effect applied to the type on a path. |
|
pathSpacing |
read/write |
The spacing applied to the type on a path. |
|
|
previousTextFrame |
NothingEnum.NOTHING |
read/write |
The previous text frame in the thread. Can return: TextFrame or TextPath. Can also accept: NothingEnum enumerator. |
|
properties |
read/write |
A property that allows setting of several properties at the same time. |
|
|
startBracket |
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. |
|
|
startTextFrame |
readonly |
The first text frame in the thread. Can return: TextFrame or TextPath. |
|
|
textAlignment |
TextTypeAlignments.ASCENDER_TEXT_ALIGNMENT TextTypeAlignments.DESCENDER_TEXT_ALIGNMENT TextTypeAlignments.CENTER_TEXT_ALIGNMENT TextTypeAlignments.BASELINE_TEXT_ALIGNMENT TextTypeAlignments.ABOVE_RIGHT_EM_BOX_TEXT_ALIGNMENT TextTypeAlignments.BELOW_LEFT_EM_BOX_TEXT_ALIGNMENT TextTypeAlignments.ABOVE_RIGHT_ICF_BOX_TEXT_ALIGNMENT TextTypeAlignments.BELOW_LEFT_ICF_BOX_TEXT_ALIGNMENT |
read/write |
The alignment applied to the type on a path. |
|
textColumns |
readonly |
A collection of text columns. |
|
|
textFrameIndex |
readonly |
The index of the text frame within the story. |
|
|
textStyleRanges |
readonly |
A collection of text style ranges. |
|
|
texts |
readonly |
A collection of text objects. |
|
|
words |
readonly |
A collection of words. |
EventListener addEventListener (eventType:String, handler:Varies, [captures:Boolean=Boolean])
Adds an event listener.
|
Parameter |
Type |
Description |
|---|---|---|
|
eventType |
The event type. |
|
|
handler |
Varies |
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, [captures:Boolean=Boolean])
Removes the event listener.
|
Parameter |
Type |
Description |
|---|---|---|
|
eventType |
The registered event type. |
|
|
handler |
Varies |
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.
TextFrame.startTextFrame
TextPath.startTextFrame
TextFrame.endTextFrame
TextPath.endTextFrame
TextFrame.nextTextFrame
TextPath.nextTextFrame
Character.parent
Event.parent
EventListener.parent
InsertionPoint.parent
Line.parent
MutationEvent.parent
Paragraph.parent
Text.parent
TextColumn.parent
TextStyleRange.parent
Word.parent
TextFrame.previousTextFrame
TextPath.previousTextFrame