我在閱讀IDML傳播時遇到了多個形狀。每個形狀具有它自己的幾何形狀,看起來像 -IDML:形狀如何存儲在IDML文件中?
-<PathGeometry>
-<GeometryPathType PathOpen="false">
-<PathPointArray>
<PathPointType RightDirection="-611.5 1548.5" LeftDirection="-611.5 1548.5" Anchor="-611.5 1548.5"/>
<PathPointType RightDirection="-611.5 2339.5" LeftDirection="-611.5 2339.5" Anchor="-611.5 2339.5"/>
<PathPointType RightDirection="-533.3 2339.5" LeftDirection="-533.3 2339.5" Anchor="-533.3 2339.5"/>
<PathPointType RightDirection="-533.3 1548.5" LeftDirection="-533.3 1548.5" Anchor="-533.3 1548.5"/>
</PathPointArray>
</GeometryPathType>
</PathGeometry>
對於矩形它是微不足道的(如在上面的例子中),其中在一個<PathPoint>
元件點的每個屬性在矩形的終點。其他形狀會發生什麼?換句話說,RightDirection,LeftDirection和Anchor屬性表示什麼?有沒有一種方法可以確定它正在查看PathPointArray的形狀?
謝謝。
再次感謝JcFx! :) – divyanshm 2013-04-01 06:44:15