我在阅读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