| java.lang.Object org.apache.batik.parser.AWTPolylineProducer
All known Subclasses: org.apache.batik.parser.AWTPolygonProducer,
AWTPolylineProducer | public class AWTPolylineProducer implements PointsHandler,ShapeProducer(Code) | | This class produces a polyline shape from a reader.
author: Stephane Hillion version: $Id: AWTPolylineProducer.java 475477 2006-11-15 22:44:28Z cam $ |
newPath | protected boolean newPath(Code) | | Is the current path a new one?
|
windingRule | protected int windingRule(Code) | | The winding rule to use to construct the path.
|
createShape | public static Shape createShape(Reader r, int wr) throws IOException, ParseException(Code) | | Utility method for creating an ExtendedGeneralPath.
Parameters: r - The reader used to read the path specification. Parameters: wr - The winding rule to use for creating the path. |
getShape | public Shape getShape()(Code) | | Returns the Shape object initialized during the last parsing.
the shape or null if this handler has not been used bya parser. |
getWindingRule | public int getWindingRule()(Code) | | Returns the current winding rule.
|
setWindingRule | public void setWindingRule(int i)(Code) | | Sets the winding rule used to construct the path.
|
|
|