org.apache.batik.parser

Class AWTPolygonProducer

public class AWTPolygonProducer extends AWTPolylineProducer

This class produces a polygon shape from a reader.
Method Summary
static ShapecreateShape(Reader r, int wr)
Utility method for creating an ExtendedGeneralPath.
voidendPoints()
Implements {@link PointsHandler#endPoints()}.

Method Detail

createShape

public static Shape createShape(Reader r, int wr)
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.

endPoints

public void endPoints()
Implements {@link PointsHandler#endPoints()}.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.