Class AWTPolygonProducer
java.lang.Object
org.apache.batik.parser.AWTPolylineProducer
org.apache.batik.parser.AWTPolygonProducer
- All Implemented Interfaces:
PointsHandler, ShapeProducer
This class produces a polygon shape from a reader.
- Version:
- $Id$
-
Field Summary
Fields inherited from class AWTPolylineProducer
newPath, path, windingRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ShapecreateShape(Reader r, int wr) Utility method for creating an ExtendedGeneralPath.voidImplementsPointsHandler.endPoints().Methods inherited from class AWTPolylineProducer
getShape, getWindingRule, point, setWindingRule, startPoints
-
Constructor Details
-
AWTPolygonProducer
public AWTPolygonProducer()
-
-
Method Details
-
createShape
Utility method for creating an ExtendedGeneralPath.- Parameters:
r- The reader used to read the path specification.wr- The winding rule to use for creating the path.- Throws:
IOExceptionParseException
-
endPoints
ImplementsPointsHandler.endPoints().- Specified by:
endPointsin interfacePointsHandler- Overrides:
endPointsin classAWTPolylineProducer- Throws:
ParseException- if an error occured while processing the points
-