Hi Brian, aside from using separate another way to gather corner points would be to get the list of segments of the curve, that's available by calling the .getSubObjects() method on a curve. Then on a segment there are also getStartPt() and getEndPt() methods same as there is on the parent curve. So something like this:
var segs = crv.getSubObjects();
for ( var i = 0; i < segs.length; ++i )
{
var seg = segs.item(i);
var pt = seg.getStartPt();
}
- Michael
|