[JAVA2D] Using outline from pathiterator

2002-04-08 Thread Nicolas Dufour
Hi I use your excellent class Area to merge polygon and extract the outline. So, i have lots of cases where the result is a mix of plain polygons and holes. But, the pathiterator doesnt tell when you iterate the subpaths if its a plain polygon or a hole Is there a field or an information to

Re: [JAVA2D] Using outline from pathiterator

2002-04-08 Thread Jim Graham
Hi Nicolas, I use your excellent class Area to merge polygon and extract the outline. So, i have lots of cases where the result is a mix of plain polygons and holes. But, the pathiterator doesnt tell when you iterate the subpaths if its a plain polygon or a hole Is there a field or an

[JAVA2D] How to draw a Splines curve?

2002-04-08 Thread wapcn
Who can tell me how to in java draw Splines curve? Cardinal Splines A cardinal spline is a sequence of individual curves joined to form a larger curve. The spline is specified by an array of points and a tension parameter. A cardinal spline passes smoothly through each point in the array;