mxGraph 2.4.0.1


com.mxgraph.util.svg
Interface ShapeProducer

All Known Implementing Classes:
AWTPathProducer, AWTPolygonProducer, AWTPolylineProducer

public interface ShapeProducer

This interface represents objects which creates Shape objects.


Method Summary
 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

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.


mxGraph 2.4.0.1


Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.