public PathIterator getPathIterator(AffineTransform at) { // we need to work against a flattened iterator, the dashed iterator // cannot handle curved segments return new DashedIterator(shape.getPathIterator(at, 1), dashArray, dashPhase); }
public int currentSegment(double[] coords) { float[] fcoord = new float[2]; int retval = currentSegment(fcoord); coords[0] = fcoord[0]; coords[1] = fcoord[1]; return retval; }
public PathIterator getPathIterator(AffineTransform at, double flatness) { // we need to work against a flattened iterator, the dashed iterator // cannot handle curved segments if (flatness < 1) { flatness = 1; } return new DashedIterator(shape.getPathIterator(at, flatness), dashArray, dashPhase); }
public PathIterator getPathIterator(AffineTransform at, double flatness) { // we need to work against a flattened iterator, the dashed iterator // cannot handle curved segments if (flatness < 1) { flatness = 1; } return new DashedIterator(shape.getPathIterator(at, flatness), dashArray, dashPhase); }
public int currentSegment(double[] coords) { float[] fcoord = new float[2]; int retval = currentSegment(fcoord); coords[0] = fcoord[0]; coords[1] = fcoord[1]; return retval; }
public PathIterator getPathIterator(AffineTransform at) { // we need to work against a flattened iterator, the dashed iterator // cannot handle curved segments return new DashedIterator(shape.getPathIterator(at, 1), dashArray, dashPhase); }