<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">java.lang.Object</A>
<IMGSRC="../../../../resources/inherit.gif"ALT="extended by "><B>com.mxgraph.util.svg.AWTPolylineProducer</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B><DD><AHREF="../../../../com/mxgraph/util/svg/PointsHandler.html"title="interface in com.mxgraph.util.svg">PointsHandler</A>, <AHREF="../../../../com/mxgraph/util/svg/ShapeProducer.html"title="interface in com.mxgraph.util.svg">ShapeProducer</A></DD>
</DL>
<DL>
<DT><B>Direct Known Subclasses:</B><DD><AHREF="../../../../com/mxgraph/util/svg/AWTPolygonProducer.html"title="class in com.mxgraph.util.svg">AWTPolygonProducer</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>AWTPolylineProducer</B><DT>extends <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A><DT>implements <AHREF="../../../../com/mxgraph/util/svg/PointsHandler.html"title="interface in com.mxgraph.util.svg">PointsHandler</A>, <AHREF="../../../../com/mxgraph/util/svg/ShapeProducer.html"title="interface in com.mxgraph.util.svg">ShapeProducer</A></DL>
</PRE>
<P>
This class produces a polyline shape from a reader.
<CODE>protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/geom/GeneralPath.html?is-external=true"title="class or interface in java.awt.geom">GeneralPath</A></CODE></FONT></TD>
<CODE>static <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Shape.html?is-external=true"title="class or interface in java.awt">Shape</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/util/svg/AWTPolylineProducer.html#createShape(java.lang.String, int)">createShape</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> text,
int wr)</CODE>
<BR>
Utility method for creating an ExtendedGeneralPath.</TD>
<CODE> <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Shape.html?is-external=true"title="class or interface in java.awt">Shape</A></CODE></FONT></TD>
<THALIGN="left"><B>Methods inherited from class java.lang.<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()"title="class or interface in java.lang">clone</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)"title="class or interface in java.lang">equals</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()"title="class or interface in java.lang">finalize</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()"title="class or interface in java.lang">getClass</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()"title="class or interface in java.lang">hashCode</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()"title="class or interface in java.lang">notify</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()"title="class or interface in java.lang">notifyAll</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()"title="class or interface in java.lang">toString</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()"title="class or interface in java.lang">wait</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)"title="class or interface in java.lang">wait</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)"title="class or interface in java.lang">wait</A></CODE></TD>
protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/geom/GeneralPath.html?is-external=true"title="class or interface in java.awt.geom">GeneralPath</A><B>path</B></PRE>
<DL>
<DD>The current path.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="newPath"><!----></A><H3>
newPath</H3>
<PRE>
protected boolean <B>newPath</B></PRE>
<DL>
<DD>Is the current path a new one?
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="windingRule"><!----></A><H3>
windingRule</H3>
<PRE>
protected int <B>windingRule</B></PRE>
<DL>
<DD>The winding rule to use to construct the path.
public static <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Shape.html?is-external=true"title="class or interface in java.awt">Shape</A><B>createShape</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> text,
int wr)
throws <AHREF="../../../../com/mxgraph/util/svg/ParseException.html"title="class in com.mxgraph.util.svg">ParseException</A></PRE>
<DL>
<DD>Utility method for creating an ExtendedGeneralPath.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - The text representation of the path specification.<DD><CODE>wr</CODE> - The winding rule to use for creating the path.
<DT><B>Throws:</B>
<DD><CODE><AHREF="../../../../com/mxgraph/util/svg/ParseException.html"title="class in com.mxgraph.util.svg">ParseException</A></CODE></DL>
</DD>
</DL>
<HR>
<ANAME="setWindingRule(int)"><!----></A><H3>
setWindingRule</H3>
<PRE>
public void <B>setWindingRule</B>(int i)</PRE>
<DL>
<DD>Sets the winding rule used to construct the path.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><AHREF="../../../../com/mxgraph/util/svg/ShapeProducer.html#setWindingRule(int)">setWindingRule</A></CODE> in interface <CODE><AHREF="../../../../com/mxgraph/util/svg/ShapeProducer.html"title="interface in com.mxgraph.util.svg">ShapeProducer</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getWindingRule()"><!----></A><H3>
getWindingRule</H3>
<PRE>
public int <B>getWindingRule</B>()</PRE>
<DL>
<DD>Returns the current winding rule.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><AHREF="../../../../com/mxgraph/util/svg/ShapeProducer.html#getWindingRule()">getWindingRule</A></CODE> in interface <CODE><AHREF="../../../../com/mxgraph/util/svg/ShapeProducer.html"title="interface in com.mxgraph.util.svg">ShapeProducer</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getShape()"><!----></A><H3>
getShape</H3>
<PRE>
public <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Shape.html?is-external=true"title="class or interface in java.awt">Shape</A><B>getShape</B>()</PRE>
<DL>
<DD>Returns the Shape object initialized during the last parsing.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><AHREF="../../../../com/mxgraph/util/svg/ShapeProducer.html#getShape()">getShape</A></CODE> in interface <CODE><AHREF="../../../../com/mxgraph/util/svg/ShapeProducer.html"title="interface in com.mxgraph.util.svg">ShapeProducer</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the shape or null if this handler has not been used by
a parser.</DL>
</DD>
</DL>
<HR>
<ANAME="startPoints()"><!----></A><H3>
startPoints</H3>
<PRE>
public void <B>startPoints</B>()
throws <AHREF="../../../../com/mxgraph/util/svg/ParseException.html"title="class in com.mxgraph.util.svg">ParseException</A></PRE>
<DT><B>Specified by:</B><DD><CODE><AHREF="../../../../com/mxgraph/util/svg/PointsHandler.html#startPoints()">startPoints</A></CODE> in interface <CODE><AHREF="../../../../com/mxgraph/util/svg/PointsHandler.html"title="interface in com.mxgraph.util.svg">PointsHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><AHREF="../../../../com/mxgraph/util/svg/ParseException.html"title="class in com.mxgraph.util.svg">ParseException</A></CODE> - if an error occured while processing the
points</DL>
</DD>
</DL>
<HR>
<ANAME="point(float, float)"><!----></A><H3>
point</H3>
<PRE>
public void <B>point</B>(float x,
float y)
throws <AHREF="../../../../com/mxgraph/util/svg/ParseException.html"title="class in com.mxgraph.util.svg">ParseException</A></PRE>
<DT><B>Specified by:</B><DD><CODE><AHREF="../../../../com/mxgraph/util/svg/PointsHandler.html#point(float, float)">point</A></CODE> in interface <CODE><AHREF="../../../../com/mxgraph/util/svg/PointsHandler.html"title="interface in com.mxgraph.util.svg">PointsHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x</CODE> - the x coordinate of the point<DD><CODE>y</CODE> - the y coordinate of the point
<DT><B>Throws:</B>
<DD><CODE><AHREF="../../../../com/mxgraph/util/svg/ParseException.html"title="class in com.mxgraph.util.svg">ParseException</A></CODE> - if an error occured while processing the
points</DL>
</DD>
</DL>
<HR>
<ANAME="endPoints()"><!----></A><H3>
endPoints</H3>
<PRE>
public void <B>endPoints</B>()
throws <AHREF="../../../../com/mxgraph/util/svg/ParseException.html"title="class in com.mxgraph.util.svg">ParseException</A></PRE>
<DT><B>Specified by:</B><DD><CODE><AHREF="../../../../com/mxgraph/util/svg/PointsHandler.html#endPoints()">endPoints</A></CODE> in interface <CODE><AHREF="../../../../com/mxgraph/util/svg/PointsHandler.html"title="interface in com.mxgraph.util.svg">PointsHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><AHREF="../../../../com/mxgraph/util/svg/ParseException.html"title="class in com.mxgraph.util.svg">ParseException</A></CODE> - if an error occured while processing the