Edit in GitHubLog an issue

TextPaths

A collection of text paths.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

TextPath add( Object withProperties )

Creates a new TextPath.

Parameters

TypeNameDescription
Object
withProperties
Initial values for properties of the new TextPath (Optional)

Number count()

Displays the number of elements in the TextPath.


TextPath item( Mixed index )

Returns the TextPath with the specified index or name.

Parameters

TypeNameDescription
Mixed
index
The index or name. Can accept: Long Integer or String.

TextPath itemByName( String name )

Returns the TextPath with the specified name.

Parameters

TypeNameDescription
String
name
The name.

TextPath itemByID( Number id )

Returns the TextPath with the specified ID.

Parameters

TypeNameDescription
Number
id
The ID.

TextPath itemByRange( Mixed from, Mixed to )

Returns the TextPaths within the specified range.

Parameters

TypeNameDescription
Mixed
from
The TextPath, index, or name at the beginning of the range. Can accept: TextPath, Long Integer or String.
Mixed
to
The TextPath, index, or name at the end of the range. Can accept: TextPath, Long Integer or String.

TextPath firstItem()

Returns the first TextPath in the collection.


TextPath lastItem()

Returns the last TextPath in the collection.


TextPath middleItem()

Returns the middle TextPath in the collection.


TextPath previousItem( TextPath obj )

Returns the TextPath with the index previous to the specified index.

Parameters

TypeNameDescription
TextPath
obj
The index of the TextPath that follows the desired TextPath.

TextPath nextItem( TextPath obj )

Returns the TextPath whose index follows the specified TextPath in the collection.

Parameters

TypeNameDescription
TextPath
obj
The TextPath whose index comes before the desired TextPath.

TextPath anyItem()

Returns any TextPath in the collection.


TextPath everyItem()

Returns every TextPath in the collection.


String toSource()

Generates a string which, if executed, will return the TextPath.


TextPath []( Number index )

Returns the TextPath with the specified index.

Parameters

TypeNameDescription
Number
index
The index.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.