Instance Properties
| Name | Description | Access |
|---|---|---|
| length | number The number of objects in the collection. | read-only |
Methods
| anyItem( | ) |
→ StrokeStyle |
| count( | ) |
→ number |
| everyItem( | ) |
→ StrokeStyle |
| firstItem( | ) |
→ StrokeStyle |
| item( | index) |
→ StrokeStyle |
| itemByID( | id) |
→ StrokeStyle |
| itemByName( | name) |
→ StrokeStyle |
| itemByRange( | from, to) |
→ StrokeStyle |
| lastItem( | ) |
→ StrokeStyle |
| middleItem( | ) |
→ StrokeStyle |
| nextItem( | obj) |
→ StrokeStyle |
| previousItem( | obj) |
→ StrokeStyle |
| toSource( | ) |
→ string |
-
anyItem( )→ StrokeStyle -
Returns any StrokeStyle in the collection.
-
count( )→ number -
Displays the number of elements in the StrokeStyle.
-
everyItem( )→ StrokeStyle -
Returns every StrokeStyle in the collection.
-
firstItem( )→ StrokeStyle -
Returns the first StrokeStyle in the collection.
-
item( index)→ StrokeStyle -
Returns the StrokeStyle with the specified index or name.
indexThe index or name. Can accept: Long Integer or String. -
itemByID( id)→ StrokeStyle -
Returns the StrokeStyle with the specified ID.
idnumber The ID. -
itemByName( name)→ StrokeStyle -
Returns the StrokeStyle with the specified name.
namestring The name. -
itemByRange( from, to)→ StrokeStyle -
Returns the StrokeStyles within the specified range.
fromThe StrokeStyle, index, or name at the beginning of the range. Can accept: StrokeStyle, Long Integer or String. toThe StrokeStyle, index, or name at the end of the range. Can accept: StrokeStyle, Long Integer or String. -
lastItem( )→ StrokeStyle -
Returns the last StrokeStyle in the collection.
-
middleItem( )→ StrokeStyle -
Returns the middle StrokeStyle in the collection.
-
nextItem( obj)→ StrokeStyle -
Returns the StrokeStyle whose index follows the specified StrokeStyle in the collection.
objStrokeStyle The StrokeStyle whose index comes before the desired StrokeStyle. -
previousItem( obj)→ StrokeStyle -
Returns the StrokeStyle with the index previous to the specified index.
objStrokeStyle The index of the StrokeStyle that follows the desired StrokeStyle. -
toSource( )→ string -
Generates a string which, if executed, will return the StrokeStyle.