图案
app.activeDocument.patterns[index]
文档中包含的 Illustrator 图案定义。
图案显示在色板面板中。
每个图案都由一个 PatternColor 对象引用,该对象定义了图案的外观。
Pattern.name
Section titled “Pattern.name”app.activeDocument.patterns[index].name
图案的名称。
字符串
Pattern.parent
Section titled “Pattern.parent”app.activeDocument.patterns[index].parent
包含此图案的文档。
Document; 只读。
Pattern.typename
Section titled “Pattern.typename”app.activeDocument.patterns[index].typename
对象的类名。
字符串; 只读。
Pattern.remove()
Section titled “Pattern.remove()”app.activeDocument.patterns[index].remove()
从文档中移除引用的图案。
无。
Pattern.toString()
Section titled “Pattern.toString()”app.activeDocument.patterns[index].toString()
返回引用对象的对象类型。如果对象有名称,则同时返回名称。
字符串