PointsHandler, ShapeProducerpublic class AWTPolygonProducer extends AWTPolylineProducer
newPath, path, windingRule| Constructor | Description |
|---|---|
AWTPolygonProducer() |
| Modifier and Type | Method | Description |
|---|---|---|
static java.awt.Shape |
createShape(java.io.Reader r,
int wr) |
Utility method for creating an ExtendedGeneralPath.
|
void |
endPoints() |
Implements
PointsHandler.endPoints(). |
getShape, getWindingRule, point, setWindingRule, startPointspublic static java.awt.Shape createShape(java.io.Reader r,
int wr)
throws java.io.IOException,
ParseException
r - The reader used to read the path specification.wr - The winding rule to use for creating the path.java.io.IOExceptionParseExceptionpublic void endPoints()
throws ParseException
PointsHandler.endPoints().endPoints in interface PointsHandlerendPoints in class AWTPolylineProducerParseException - if an error occured while processing the
pointsCopyright ? 2018 Apache Software Foundation. All Rights Reserved.