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 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 endPoints.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.