Brushes¶
app.activeDocument.brushes
Description
A collection of brush objects in a document.
Properties¶
Brushes.length¶
app.activeDocument.brushes.length
Description
The number of objects in the collection
Type
Number; read-only.
Brushes.parent¶
app.activeDocument.brushes.parent
Description
The document that contains this brushes collection.
Type
Object; read-only.
Brushes.typename¶
app.activeDocument.brushes.typename
Description
The class name of the referenced object.
Type
String; read-only.
Methods¶
Brushes.getByName()¶
app.activeDocument.brushes.getByName(name)
Description
Gets the first element in the collection with the specified name.
Parameters
Parameter | Type | Description |
---|---|---|
name |
String | Name of element to get |
Returns