Spline方法
1.返回一个整数数组,表示对象里被选择样条线的序号
getSplineSelection <shape>
2.返回一个整数,表示指定样条曲线里线段的数目
numSegments<shape><spline index Integer>
3.返回一个整数,表示指定样条线里的结点数,如果没指定样条线序号,返回值为整个shape对象上的结点数
numKnots<shape>[<spline index Integer>]
4.将指定样条线的结点排序逆转
reverse<shape> <spline index Integer>
5.返回一个数组,表示各线段长度和顶点之间的距离
getSegLengths <splineShape> <spline index> [cum:<boolean>]
6.将样条线的指定线段分成指定数目的小线段
subdivideSegment<splineShape> <spline index> <seg index> <divisions>