Package com.mxgraph.util.svg
Class AWTPolygonProducer
java.lang.Object
com.mxgraph.util.svg.AWTPolylineProducer
com.mxgraph.util.svg.AWTPolygonProducer
- All Implemented Interfaces:
PointsHandler,ShapeProducer
This class produces a polygon shape from a reader.
-
Field Summary
Fields inherited from class com.mxgraph.util.svg.AWTPolylineProducer
newPath, path, windingRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ShapecreateShape(String text, int wr) Utility method for creating an ExtendedGeneralPath.voidImplementsPointsHandler.endPoints().Methods inherited from class com.mxgraph.util.svg.AWTPolylineProducer
getShape, getWindingRule, point, setWindingRule, startPoints
-
Constructor Details
-
AWTPolygonProducer
public AWTPolygonProducer()
-
-
Method Details
-
createShape
Utility method for creating an ExtendedGeneralPath.- Parameters:
text- The text representation of the path specification.wr- The winding rule to use for creating the path.- Throws:
ParseException
-
endPoints
ImplementsPointsHandler.endPoints().- Specified by:
endPointsin interfacePointsHandler- Overrides:
endPointsin classAWTPolylineProducer- Throws:
ParseException- if an error occured while processing the points
-