Pattern
Pattern
Section titled “Pattern”app.activeDocument.patterns[index]
Description
Section titled “Description”An Illustrator pattern definition contained in a document.
Patterns are shown in the Swatches palette.
Each pattern is referenced by a PatternColor object, which defines the pattern’s appearance.
Properties
Section titled “Properties”Pattern.name
Section titled “Pattern.name”app.activeDocument.patterns[index].name
Description
Section titled “Description”The pattern name.
String
Pattern.parent
Section titled “Pattern.parent”app.activeDocument.patterns[index].parent
Description
Section titled “Description”The document that contains this pattern.
Document; read-only.
Pattern.typename
Section titled “Pattern.typename”app.activeDocument.patterns[index].typename
Description
Section titled “Description”The class name of the object.
String; read-only.
Methods
Section titled “Methods”Pattern.remove()
Section titled “Pattern.remove()”app.activeDocument.patterns[index].remove()
Description
Section titled “Description”Removes the referenced pattern from the document.
Returns
Section titled “Returns”Nothing.
Pattern.toString()
Section titled “Pattern.toString()”app.activeDocument.patterns[index].toString()
Description
Section titled “Description”Returns the object type of a referenced object. If the object has a name, also returns the name.
Returns
Section titled “Returns”String