A collection of stroke styles.
Go to Property Listing | Method Listing
anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
readonly |
The number of objects in the collection. |
StrokeStyle anyItem ()
Returns any StrokeStyle in the collection.
Number count ()
Displays the number of elements in the StrokeStyle.
StrokeStyle everyItem ()
Returns every StrokeStyle in the collection.
StrokeStyle firstItem ()
Returns the first StrokeStyle in the collection.
StrokeStyle item (index:Varies Long String)
Returns the StrokeStyle with the specified index or name.
|
Parameter |
Type |
Description |
|---|---|---|
|
index |
Long |
The index or name. Can accept: Long or String. |
StrokeStyle itemByID (id:Number)
Returns the StrokeStyle with the specified ID.
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
The ID. |
StrokeStyle itemByName (name:String)
Returns the StrokeStyle with the specified name.
|
Parameter |
Type |
Description |
|---|---|---|
|
name |
The name. |
StrokeStyle itemByRange (from:Varies Long StrokeStyle String, to:Varies Long StrokeStyle String)
Returns the StrokeStyles within the specified range.
|
Parameter |
Type |
Description |
|---|---|---|
|
from |
Long |
The StrokeStyle, index, or name at the beginning of the range. Can accept: StrokeStyle, Long or String. |
|
to |
Long |
The StrokeStyle, index, or name at the end of the range. Can accept: StrokeStyle, Long or String. |
StrokeStyle lastItem ()
Returns the last StrokeStyle in the collection.
StrokeStyle middleItem ()
Returns the middle StrokeStyle in the collection.
StrokeStyle nextItem (obj:StrokeStyle)
Returns the StrokeStyle whose index follows the specified StrokeStyle in the collection.
|
Parameter |
Type |
Description |
|---|---|---|
|
obj |
The StrokeStyle whose index comes before the desired StrokeStyle. |
StrokeStyle previousItem (obj:StrokeStyle)
Returns the StrokeStyle with the index previous to the specified index.
|
Parameter |
Type |
Description |
|---|---|---|
|
obj |
The index of the StrokeStyle that follows the desired StrokeStyle. |
String toSource ()
Generates a string which, if executed, will return the StrokeStyle.