final PathIterator pathIterator = a.getPathIterator(null, 2);
final FloatList floats = new FloatList(100);
final float[] coords = new float[6];
while (pathIterator.isDone() == false)
{
final int retval = pathIterator.currentSegment(coords);
if (retval == PathIterator.SEG_MOVETO ||
retval == PathIterator.SEG_LINETO)
{
floats.add(coords[0]);
floats.add(coords[1]);