org.apache.batik.parser
Interface ShapeProducer

All Known Implementing Classes:
AWTPathProducer, AWTPolylineProducer

public interface ShapeProducer

This interface represents objects which creates Shape objects.

Version:
$Id: ShapeProducer.java,v 1.2 2003/08/08 11:39:18 vhardy Exp $
Author:
Stephane Hillion

Method Summary
 java.awt.Shape getShape()
          Returns the Shape object initialized during the last parsing.
 int getWindingRule()
          Returns the current winding rule.
 void setWindingRule(int i)
          Sets the winding rule used to construct the path.
 

Method Detail

getShape

public 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

public void setWindingRule(int i)
Sets the winding rule used to construct the path.


getWindingRule

public int getWindingRule()
Returns the current winding rule.



<oXygen/> XML Editor uses Batik from the Apache Foundation to provide support for previewing SVG documents. See the SVG Editor section for more info.