org.apache.batik.parser

Interface ShapeProducer

public interface ShapeProducer

This interface represents objects which creates Shape objects.
Method Summary
ShapegetShape()
Returns the Shape object initialized during the last parsing.
intgetWindingRule()
Returns the current winding rule.
voidsetWindingRule(int i)
Sets the winding rule used to construct the path.

Method Detail

getShape

public Shape getShape()
Returns the Shape object initialized during the last parsing.

Returns: the shape or null if this handler has not been used to parse a path.

getWindingRule

public int getWindingRule()
Returns the current winding rule.

setWindingRule

public void setWindingRule(int i)
Sets the winding rule used to construct the path.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.