<li><ahref="../../../../com/mxgraph/util/svg/AbstractParser.html"title="class in com.mxgraph.util.svg"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../com/mxgraph/util/svg/AWTPolygonProducer.html"title="class in com.mxgraph.util.svg"><spanclass="strong">Next Class</span></a></li>
<dd><ahref="../../../../com/mxgraph/util/svg/PathHandler.html"title="interface in com.mxgraph.util.svg">PathHandler</a>, <ahref="../../../../com/mxgraph/util/svg/ShapeProducer.html"title="interface in com.mxgraph.util.svg">ShapeProducer</a></dd>
</dl>
<hr>
<br>
<pre>public class <spanclass="strong">AWTPathProducer</span>
implements <ahref="../../../../com/mxgraph/util/svg/PathHandler.html"title="interface in com.mxgraph.util.svg">PathHandler</a>, <ahref="../../../../com/mxgraph/util/svg/ShapeProducer.html"title="interface in com.mxgraph.util.svg">ShapeProducer</a></pre>
<divclass="block">This class provides an implementation of the PathHandler that initializes
a Shape from the value of a path's 'd' attribute.</div>
<tdclass="colFirst"><code>protected <ahref="../../../../com/mxgraph/util/svg/ExtendedGeneralPath.html"title="class in com.mxgraph.util.svg">ExtendedGeneralPath</a></code></td>
<pre>protected <ahref="../../../../com/mxgraph/util/svg/ExtendedGeneralPath.html"title="class in com.mxgraph.util.svg">ExtendedGeneralPath</a> path</pre>
<divclass="block">The temporary value of extendedGeneralPath.</div>
</li>
</ul>
<aname="currentX">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>currentX</h4>
<pre>protected float currentX</pre>
<divclass="block">The current x position.</div>
</li>
</ul>
<aname="currentY">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>currentY</h4>
<pre>protected float currentY</pre>
<divclass="block">The current y position.</div>
</li>
</ul>
<aname="xCenter">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>xCenter</h4>
<pre>protected float xCenter</pre>
<divclass="block">The reference x point for smooth arcs.</div>
</li>
</ul>
<aname="yCenter">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>yCenter</h4>
<pre>protected float yCenter</pre>
<divclass="block">The reference y point for smooth arcs.</div>
</li>
</ul>
<aname="windingRule">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>windingRule</h4>
<pre>protected int windingRule</pre>
<divclass="block">The winding rule to use to construct the path.</div>
<divclass="block">Utility method for creating an ExtendedGeneralPath.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>text</code> - The text representation of the path specification.</dd><dd><code>wr</code> - The winding rule to use for creating the path.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../../com/mxgraph/util/svg/ParseException.html"title="class in com.mxgraph.util.svg">ParseException</a></code></dd></dl>
<divclass="block">Sets the winding rule used to construct the path.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<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></dd>
</dl>
</li>
</ul>
<aname="getWindingRule()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getWindingRule</h4>
<pre>public int getWindingRule()</pre>
<divclass="block">Returns the current winding rule.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<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></dd>
<divclass="block">Returns the Shape object initialized during the last parsing.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<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></dd>
<dt><spanclass="strong">Returns:</span></dt><dd>the shape or null if this handler has not been used by
a parser.</dd></dl>
</li>
</ul>
<aname="startPath()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>startPath</h4>
<pre>public void startPath()
throws <ahref="../../../../com/mxgraph/util/svg/ParseException.html"title="class in com.mxgraph.util.svg">ParseException</a></pre>
<dd><code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html#startPath()">startPath</a></code> in interface <code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html"title="interface in com.mxgraph.util.svg">PathHandler</a></code></dd>
<dt><spanclass="strong">Throws:</span></dt>
<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 path</dd></dl>
</li>
</ul>
<aname="endPath()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>endPath</h4>
<pre>public void endPath()
throws <ahref="../../../../com/mxgraph/util/svg/ParseException.html"title="class in com.mxgraph.util.svg">ParseException</a></pre>
<dd><code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html#endPath()">endPath</a></code> in interface <code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html"title="interface in com.mxgraph.util.svg">PathHandler</a></code></dd>
<dt><spanclass="strong">Throws:</span></dt>
<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 path</dd></dl>
<dd><code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html#movetoRel(float, float)">movetoRel</a></code> in interface <code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html"title="interface in com.mxgraph.util.svg">PathHandler</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>x</code> - the relative x coordinate for the end point</dd><dd><code>y</code> - the relative y coordinate for the end point</dd>
<dt><spanclass="strong">Throws:</span></dt>
<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 path</dd></dl>
<dd><code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html#movetoAbs(float, float)">movetoAbs</a></code> in interface <code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html"title="interface in com.mxgraph.util.svg">PathHandler</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>x</code> - the absolute x coordinate for the end point</dd><dd><code>y</code> - the absolute y coordinate for the end point</dd>
<dt><spanclass="strong">Throws:</span></dt>
<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 path</dd></dl>
</li>
</ul>
<aname="closePath()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>closePath</h4>
<pre>public void closePath()
throws <ahref="../../../../com/mxgraph/util/svg/ParseException.html"title="class in com.mxgraph.util.svg">ParseException</a></pre>
<dd><code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html#closePath()">closePath</a></code> in interface <code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html"title="interface in com.mxgraph.util.svg">PathHandler</a></code></dd>
<dt><spanclass="strong">Throws:</span></dt>
<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 path</dd></dl>
<dd><code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html#linetoRel(float, float)">linetoRel</a></code> in interface <code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html"title="interface in com.mxgraph.util.svg">PathHandler</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>x</code> - the relative x coordinates for the end point</dd><dd><code>y</code> - the relative y coordinates for the end point</dd>
<dt><spanclass="strong">Throws:</span></dt>
<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 path</dd></dl>
<dd><code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html#linetoAbs(float, float)">linetoAbs</a></code> in interface <code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html"title="interface in com.mxgraph.util.svg">PathHandler</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>x</code> - the absolute x coordinate for the end point</dd><dd><code>y</code> - the absolute y coordinate for the end point</dd>
<dt><spanclass="strong">Throws:</span></dt>
<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 path</dd></dl>
<dd><code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html#linetoHorizontalRel(float)">linetoHorizontalRel</a></code> in interface <code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html"title="interface in com.mxgraph.util.svg">PathHandler</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>x</code> - the relative X coordinate of the end point</dd>
<dt><spanclass="strong">Throws:</span></dt>
<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 path</dd></dl>
<dd><code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html#linetoHorizontalAbs(float)">linetoHorizontalAbs</a></code> in interface <code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html"title="interface in com.mxgraph.util.svg">PathHandler</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>x</code> - the absolute X coordinate of the end point</dd>
<dt><spanclass="strong">Throws:</span></dt>
<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 path</dd></dl>
<dd><code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html#linetoVerticalRel(float)">linetoVerticalRel</a></code> in interface <code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html"title="interface in com.mxgraph.util.svg">PathHandler</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>y</code> - the relative Y coordinate of the end point</dd>
<dt><spanclass="strong">Throws:</span></dt>
<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 path</dd></dl>
<dd><code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html#linetoVerticalAbs(float)">linetoVerticalAbs</a></code> in interface <code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html"title="interface in com.mxgraph.util.svg">PathHandler</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>y</code> - the absolute Y coordinate of the end point</dd>
<dt><spanclass="strong">Throws:</span></dt>
<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 path</dd></dl>
<dd><code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html#curvetoCubicRel(float, float, float, float, float, float)">curvetoCubicRel</a></code> in interface <code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html"title="interface in com.mxgraph.util.svg">PathHandler</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>x1</code> - the relative x coordinate for the first control point</dd><dd><code>y1</code> - the relative y coordinate for the first control point</dd><dd><code>x2</code> - the relative x coordinate for the second control point</dd><dd><code>y2</code> - the relative y coordinate for the second control point</dd><dd><code>x</code> - the relative x coordinate for the end point</dd><dd><code>y</code> - the relative y coordinate for the end point</dd>
<dt><spanclass="strong">Throws:</span></dt>
<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 path</dd></dl>
<dd><code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html#curvetoCubicAbs(float, float, float, float, float, float)">curvetoCubicAbs</a></code> in interface <code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html"title="interface in com.mxgraph.util.svg">PathHandler</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>x1</code> - the absolute x coordinate for the first control point</dd><dd><code>y1</code> - the absolute y coordinate for the first control point</dd><dd><code>x2</code> - the absolute x coordinate for the second control point</dd><dd><code>y2</code> - the absolute y coordinate for the second control point</dd><dd><code>x</code> - the absolute x coordinate for the end point</dd><dd><code>y</code> - the absolute y coordinate for the end point</dd>
<dt><spanclass="strong">Throws:</span></dt>
<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 path</dd></dl>
<dd><code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html#curvetoCubicSmoothRel(float, float, float, float)">curvetoCubicSmoothRel</a></code> in interface <code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html"title="interface in com.mxgraph.util.svg">PathHandler</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>x2</code> - the relative x coordinate for the second control point</dd><dd><code>y2</code> - the relative y coordinate for the second control point</dd><dd><code>x</code> - the relative x coordinate for the end point</dd><dd><code>y</code> - the relative y coordinate for the end point</dd>
<dt><spanclass="strong">Throws:</span></dt>
<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 path</dd></dl>
<dd><code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html#curvetoCubicSmoothAbs(float, float, float, float)">curvetoCubicSmoothAbs</a></code> in interface <code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html"title="interface in com.mxgraph.util.svg">PathHandler</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>x2</code> - the absolute x coordinate for the second control point</dd><dd><code>y2</code> - the absolute y coordinate for the second control point</dd><dd><code>x</code> - the absolute x coordinate for the end point</dd><dd><code>y</code> - the absolute y coordinate for the end point</dd>
<dt><spanclass="strong">Throws:</span></dt>
<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 path</dd></dl>
<dd><code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html#curvetoQuadraticRel(float, float, float, float)">curvetoQuadraticRel</a></code> in interface <code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html"title="interface in com.mxgraph.util.svg">PathHandler</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>x1</code> - the relative x coordinate for the control point</dd><dd><code>y1</code> - the relative y coordinate for the control point</dd><dd><code>x</code> - the relative x coordinate for the end point</dd><dd><code>y</code> - the relative x coordinate for the end point</dd>
<dt><spanclass="strong">Throws:</span></dt>
<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 path</dd></dl>
<dd><code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html#curvetoQuadraticAbs(float, float, float, float)">curvetoQuadraticAbs</a></code> in interface <code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html"title="interface in com.mxgraph.util.svg">PathHandler</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>x1</code> - the absolute x coordinate for the control point</dd><dd><code>y1</code> - the absolute y coordinate for the control point</dd><dd><code>x</code> - the absolute x coordinate for the end point</dd><dd><code>y</code> - the absolute x coordinate for the end point</dd>
<dt><spanclass="strong">Throws:</span></dt>
<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 path</dd></dl>
<dd><code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html#curvetoQuadraticSmoothRel(float, float)">curvetoQuadraticSmoothRel</a></code> in interface <code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html"title="interface in com.mxgraph.util.svg">PathHandler</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>x</code> - the relative x coordinate for the end point</dd><dd><code>y</code> - the relative y coordinate for the end point</dd>
<dt><spanclass="strong">Throws:</span></dt>
<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 path</dd></dl>
<dd><code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html#curvetoQuadraticSmoothAbs(float, float)">curvetoQuadraticSmoothAbs</a></code> in interface <code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html"title="interface in com.mxgraph.util.svg">PathHandler</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>x</code> - the absolute x coordinate for the end point</dd><dd><code>y</code> - the absolute y coordinate for the end point</dd>
<dt><spanclass="strong">Throws:</span></dt>
<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 path</dd></dl>
<dd><code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html#arcRel(float, float, float, boolean, boolean, float, float)">arcRel</a></code> in interface <code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html"title="interface in com.mxgraph.util.svg">PathHandler</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>rx</code> - the X axis radius for the ellipse</dd><dd><code>ry</code> - the Y axis radius for the ellipse</dd><dd><code>xAxisRotation</code> - the rotation angle in degrees for the ellipse's
X-axis relative to the X-axis</dd><dd><code>largeArcFlag</code> - the value of the large-arc-flag</dd><dd><code>sweepFlag</code> - the value of the sweep-flag</dd><dd><code>x</code> - the relative x coordinate for the end point</dd><dd><code>y</code> - the relative y coordinate for the end point</dd>
<dt><spanclass="strong">Throws:</span></dt>
<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 path</dd></dl>
<dd><code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html#arcAbs(float, float, float, boolean, boolean, float, float)">arcAbs</a></code> in interface <code><ahref="../../../../com/mxgraph/util/svg/PathHandler.html"title="interface in com.mxgraph.util.svg">PathHandler</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>rx</code> - the X axis radius for the ellipse</dd><dd><code>ry</code> - the Y axis radius for the ellipse</dd><dd><code>xAxisRotation</code> - the rotation angle in degrees for the ellipse's
X-axis relative to the X-axis</dd><dd><code>largeArcFlag</code> - the value of the large-arc-flag</dd><dd><code>sweepFlag</code> - the value of the sweep-flag</dd><dd><code>x</code> - the absolute x coordinate for the end point</dd><dd><code>y</code> - the absolute y coordinate for the end point</dd>
<dt><spanclass="strong">Throws:</span></dt>
<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 path</dd></dl>
<li><ahref="../../../../com/mxgraph/util/svg/AbstractParser.html"title="class in com.mxgraph.util.svg"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../com/mxgraph/util/svg/AWTPolygonProducer.html"title="class in com.mxgraph.util.svg"><spanclass="strong">Next Class</span></a></li>