A collection of brushes.
Go to Property Listing | Method Listing
Property |
Type |
Access |
Description |
---|---|---|---|
Int |
readonly |
Number of elements in the collection. |
|
readonly |
The object's container. |
||
readonly |
The class name of the object. |
Brush add (brushDefinition:File, [brushName:String])
Create a brush.
Parameter |
Type |
Description |
---|---|---|
brushDefinition |
The brush definition from which the brush would be created. |
|
brushName |
The name of the brush. |
Brush addAndLoad (brushDefinition:File)
Create a brush, select the brush tool and load the created brush in the brush tool.
Parameter |
Type |
Description |
---|---|---|
brushDefinition |
The brush definition from which the brush would be created. |
Brush getByName (name:String)
Get the first element in the collection with the provided name.
Parameter |
Type |
Description |
---|---|---|
name |
Document.brushes