Retrieves the end points and control points of the path as a float array. The array contains a sequence of variable length segments that use from from one to seven array elements. The first element of a segment is the type as defined in the PathIterator interface. SEG_MOVETO and SEG_LINETO segmen
()
| 749 | * coordinates and SEG_CUBICTO segments include six coordinates (three points). |
| 750 | * Coordinates are with respect to the image bounds, not the Roi bounds. */ |
| 751 | public float[] getShapeAsArray() { |
| 752 | return getShapeAsArray(shape, (float)getXBase(), (float)getYBase()); |
| 753 | } |
| 754 | |
| 755 | /** Converts a java.awt.Shape to an array of segment types and coordinates. |
| 756 | * 'xBase' and 'yBase' are added to the x and y coordinates, respectively. */ |