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