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 [] (index:Number)
Returns the StrokeStyle with the specified index.
Parameter |
Type |
Description |
---|---|---|
index |
The index. |
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 LongInteger String)
Returns the StrokeStyle with the specified index or name.
Parameter |
Type |
Description |
---|---|---|
index |
LongInteger |
The index or name. Can accept: Long Integer 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 LongInteger StrokeStyle String, to:Varies LongInteger StrokeStyle String)
Returns the StrokeStyles within the specified range.
Parameter |
Type |
Description |
---|---|---|
from |
LongInteger |
The StrokeStyle, index, or name at the beginning of the range. Can accept: StrokeStyle, Long Integer or String. |
to |
LongInteger |
The StrokeStyle, index, or name at the end of the range. Can accept: StrokeStyle, Long Integer 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.