posted 17 years ago
Hi thr,
Lets say I have a polygon object containing points p1,p2,p3,p4,p5. I want to take the line formed by any two consecutive points, say (p1,p2), (p2,p3), (p3,p4), (p4,p5) and (p5,p1). Where as using pathIterator you can traverse through polygon in one direction. Iam able to get (p1,p2), (p2,p3), (p3,p4), (p4,p5). But not (p5,p1).
How do I get the start point i.e. p1 on reaching the end point p5 so that I can take the line formed by p5,p1 line. Is there a way to get?