应用图形样式

时间:2014-06-04 14:36:44

标签: javascript adobe-illustrator extendscript

如何使用Adobe Illustrator中的ExtendScript将图形样式(称为' line1')应用于PathItem

2 个答案:

答案 0 :(得分:2)

Semester --< Course --< Class --< Lecture --< Attendance >-- Student
              Teacher ---^  L--< ClassList---------------------^

答案 1 :(得分:1)

这里有Illustrator Scripting Guide关于应用图形样式的内容(第17页):

  

您的脚本可以使用graphic style对象将图形样式应用于图稿。要应用图形样式,请使用graphic styles对象的document属性来访问apply to对象的graphic style方法。

请注意,给出的对象名称适用于AppleScript。看起来在ExtendScript中使用略有不同的名称:graphic style对象是ArtStyle对象。使用其.applyTo()方法。