public class AWTPolygonProducer extends AWTPolylineProducer
newPath, path, windingRule| Constructor and Description |
|---|
AWTPolygonProducer() |
| Modifier and Type | Method and Description |
|---|---|
static Shape |
createShape(String text,
int wr)
Utility method for creating an ExtendedGeneralPath.
|
void |
endPoints()
Implements
PointsHandler.endPoints(). |
getShape, getWindingRule, point, setWindingRule, startPointspublic static Shape createShape(String text, int wr) throws ParseException
text - The text representation of the path specification.wr - The winding rule to use for creating the path.ParseExceptionpublic void endPoints()
throws ParseException
PointsHandler.endPoints().endPoints in interface PointsHandlerendPoints in class AWTPolylineProducerParseException - if an error occured while processing the
pointsCopyright (c) 2010 Gaudenz Alder. All rights reserved.