Package org.apache.batik.parser
Interface ShapeProducer
-
- All Known Implementing Classes:
AWTPathProducer,AWTPolygonProducer,AWTPolylineProducer
public interface ShapeProducerThis interface represents objects which creates Shape objects.- Version:
- $Id: ShapeProducer.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.awt.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
java.awt.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.
-
setWindingRule
void setWindingRule(int i)
Sets the winding rule used to construct the path.
-
getWindingRule
int getWindingRule()
Returns the current winding rule.
-
-