Edit in GitHubLog an issue

StrokeStyles

A collection of stroke styles.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

Number count()

Displays the number of elements in the StrokeStyle.


StrokeStyle item( Mixed index )

Returns the StrokeStyle with the specified index or name.

Parameters

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

StrokeStyle itemByName( String name )

Returns the StrokeStyle with the specified name.

Parameters

TypeNameDescription
String
name
The name.

StrokeStyle itemByID( Number id )

Returns the StrokeStyle with the specified ID.

Parameters

TypeNameDescription
Number
id
The ID.

StrokeStyle itemByRange( Mixed from, Mixed to )

Returns the StrokeStyles within the specified range.

Parameters

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

StrokeStyle firstItem()

Returns the first StrokeStyle in the collection.


StrokeStyle lastItem()

Returns the last StrokeStyle in the collection.


StrokeStyle middleItem()

Returns the middle StrokeStyle in the collection.


StrokeStyle previousItem( StrokeStyle obj )

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

Parameters

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

StrokeStyle nextItem( StrokeStyle obj )

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

Parameters

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

StrokeStyle anyItem()

Returns any StrokeStyle in the collection.


StrokeStyle everyItem()

Returns every StrokeStyle in the collection.


String toSource()

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


StrokeStyle []( Number index )

Returns the StrokeStyle 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.