TextTextPaths

A collection of text paths.

Instance Properties

Name Description Access
length number The number of objects in the collection. read-only

Methods

add(
[withProperties])
 → TextPath
anyItem(
)
 → TextPath
count(
)
 → number
everyItem(
)
 → TextPath
firstItem(
)
 → TextPath
item(
index)
 → TextPath
itemByID(
id)
 → TextPath
itemByName(
name)
 → TextPath
itemByRange(
from, to)
 → TextPath
lastItem(
)
 → TextPath
middleItem(
)
 → TextPath
nextItem(
obj)
 → TextPath
previousItem(
obj)
 → TextPath
toSource(
)
 → string
add(
[withProperties])
 → TextPath
Creates a new TextPath.
withProperties Object Initial values for properties of the new TextPath (Optional)
anyItem(
)
 → TextPath
Returns any TextPath in the collection.
count(
)
 → number
Displays the number of elements in the TextPath.
everyItem(
)
 → TextPath
Returns every TextPath in the collection.
firstItem(
)
 → TextPath
Returns the first TextPath in the collection.
item(
index)
 → TextPath
Returns the TextPath with the specified index or name.
index The index or name. Can accept: Long Integer or String.
itemByID(
id)
 → TextPath
Returns the TextPath with the specified ID.
id number The ID.
itemByName(
name)
 → TextPath
Returns the TextPath with the specified name.
name string The name.
itemByRange(
from, to)
 → TextPath
Returns the TextPaths within the specified range.
from The TextPath, index, or name at the beginning of the range. Can accept: TextPath, Long Integer or String.
to The TextPath, index, or name at the end of the range. Can accept: TextPath, Long Integer or String.
lastItem(
)
 → TextPath
Returns the last TextPath in the collection.
middleItem(
)
 → TextPath
Returns the middle TextPath in the collection.
nextItem(
obj)
 → TextPath
Returns the TextPath whose index follows the specified TextPath in the collection.
obj TextPath The TextPath whose index comes before the desired TextPath.
previousItem(
obj)
 → TextPath
Returns the TextPath with the index previous to the specified index.
obj TextPath The index of the TextPath that follows the desired TextPath.
toSource(
)
 → string
Generates a string which, if executed, will return the TextPath.