我試圖在Illustrator中爲compoundPathItem
內的pathItems
着色。我的物體看起來像一個圓圈內的一個圓圈。在compoundPathItem
內沒有筆畫,四條路徑,兩個compoundPathItems
。如何給Illustrator CS5添加顏色嵌套複合路徑Extendscript?
當調試這條線:警報(doc.compoundPathItems [0])I get:-[CompoundPathItem] .... which makes sense because I've combined two compoundPathItems.
不過,我似乎無法獲取到pathItems訪問,以便它們上色:
doc.compoundPathItems[0].compoundPathItems[0].pathItems ... errors out x_x ...
alert(doc.compoundPathItems[0].pathItems.length) gives me 0 .... T-T
幫助我明白這裏發生了什麼。
不,對不起..形狀就像你說的第二個「◎」 – 2014-11-25 22:29:20