跳转到内容

图案

app.activeDocument.patterns[index]

文档中包含的 Illustrator 图案定义。

图案显示在色板面板中。

每个图案都由一个 PatternColor 对象引用,该对象定义了图案的外观。


app.activeDocument.patterns[index].name

图案的名称。

字符串


app.activeDocument.patterns[index].parent

包含此图案的文档。

Document; 只读。


app.activeDocument.patterns[index].typename

对象的类名。

字符串; 只读。


app.activeDocument.patterns[index].remove()

从文档中移除引用的图案。

无。


app.activeDocument.patterns[index].toString()

返回引用对象的对象类型。如果对象有名称,则同时返回名称。

字符串