maxGraph/java/docs/com/mxgraph/util/svg/PathHandler.html

739 lines
36 KiB
HTML
Raw Normal View History

2012-05-21 20:32:26 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2014-04-01 11:30:48 +00:00
<!-- NewPage -->
<html lang="en">
<head>
2016-04-06 08:10:17 +00:00
<!-- Generated by javadoc (version 1.7.0_51) on Wed Apr 06 10:08:03 CEST 2016 -->
<title>PathHandler (mxGraph 3.5.1.0 API Specification)</title>
<meta name="date" content="2016-04-06">
2014-04-01 11:30:48 +00:00
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
2012-05-21 20:32:26 +00:00
if (location.href.indexOf('is-external=true') == -1) {
2016-04-06 08:10:17 +00:00
parent.document.title="PathHandler (mxGraph 3.5.1.0 API Specification)";
2012-05-21 20:32:26 +00:00
}
2014-04-01 11:30:48 +00:00
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
2012-05-21 20:32:26 +00:00
<!-- ========= START OF TOP NAVBAR ======= -->
2014-04-01 11:30:48 +00:00
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/PathHandler.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
2016-04-06 08:10:17 +00:00
<div class="aboutLanguage"><em><p><b>mxGraph 3.5.1.0</b></p></em></div>
2014-04-01 11:30:48 +00:00
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../com/mxgraph/util/svg/Parser.html" title="interface in com.mxgraph.util.svg"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../com/mxgraph/util/svg/PathParser.html" title="class in com.mxgraph.util.svg"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/mxgraph/util/svg/PathHandler.html" target="_top">Frames</a></li>
<li><a href="PathHandler.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
2012-05-21 20:32:26 +00:00
if(window==top) {
2014-04-01 11:30:48 +00:00
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
2012-05-21 20:32:26 +00:00
}
//-->
2014-04-01 11:30:48 +00:00
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
2012-05-21 20:32:26 +00:00
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
2014-04-01 11:30:48 +00:00
<div class="header">
<div class="subTitle">com.mxgraph.util.svg</div>
<h2 title="Interface PathHandler" class="title">Interface PathHandler</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><a href="../../../../com/mxgraph/util/svg/AWTPathProducer.html" title="class in com.mxgraph.util.svg">AWTPathProducer</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="strong">PathHandler</span></pre>
<div class="block">This interface must be implemented and then registred as the
2012-05-21 20:32:26 +00:00
handler of a <code>PathParser</code> instance in order to be
2014-04-01 11:30:48 +00:00
notified of parsing events.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
2012-05-21 20:32:26 +00:00
<!-- ========== METHOD SUMMARY =========== -->
2014-04-01 11:30:48 +00:00
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/util/svg/PathHandler.html#arcAbs(float, float, float, boolean, boolean, float, float)">arcAbs</a></strong>(float&nbsp;rx,
float&nbsp;ry,
float&nbsp;xAxisRotation,
boolean&nbsp;largeArcFlag,
boolean&nbsp;sweepFlag,
float&nbsp;x,
float&nbsp;y)</code>
<div class="block">Invoked when an absolute elliptical arc command has been parsed.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/util/svg/PathHandler.html#arcRel(float, float, float, boolean, boolean, float, float)">arcRel</a></strong>(float&nbsp;rx,
float&nbsp;ry,
float&nbsp;xAxisRotation,
boolean&nbsp;largeArcFlag,
boolean&nbsp;sweepFlag,
float&nbsp;x,
float&nbsp;y)</code>
<div class="block">Invoked when a relative elliptical arc command has been parsed.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/util/svg/PathHandler.html#closePath()">closePath</a></strong>()</code>
<div class="block">Invoked when a closepath has been parsed.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/util/svg/PathHandler.html#curvetoCubicAbs(float, float, float, float, float, float)">curvetoCubicAbs</a></strong>(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;x2,
float&nbsp;y2,
float&nbsp;x,
float&nbsp;y)</code>
<div class="block">Invoked when an absolute cubic bezier curve command has been parsed.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/util/svg/PathHandler.html#curvetoCubicRel(float, float, float, float, float, float)">curvetoCubicRel</a></strong>(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;x2,
float&nbsp;y2,
float&nbsp;x,
float&nbsp;y)</code>
<div class="block">Invoked when a relative cubic bezier curve command has been parsed.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/util/svg/PathHandler.html#curvetoCubicSmoothAbs(float, float, float, float)">curvetoCubicSmoothAbs</a></strong>(float&nbsp;x2,
2012-05-21 20:32:26 +00:00
float&nbsp;y2,
float&nbsp;x,
2014-04-01 11:30:48 +00:00
float&nbsp;y)</code>
<div class="block">Invoked when an absolute smooth cubic bezier curve command has
been parsed.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/util/svg/PathHandler.html#curvetoCubicSmoothRel(float, float, float, float)">curvetoCubicSmoothRel</a></strong>(float&nbsp;x2,
2012-05-21 20:32:26 +00:00
float&nbsp;y2,
float&nbsp;x,
2014-04-01 11:30:48 +00:00
float&nbsp;y)</code>
<div class="block">Invoked when a relative smooth cubic bezier curve command has
been parsed.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/util/svg/PathHandler.html#curvetoQuadraticAbs(float, float, float, float)">curvetoQuadraticAbs</a></strong>(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;x,
float&nbsp;y)</code>
<div class="block">Invoked when an absolute quadratic bezier curve command has been parsed.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/util/svg/PathHandler.html#curvetoQuadraticRel(float, float, float, float)">curvetoQuadraticRel</a></strong>(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;x,
float&nbsp;y)</code>
<div class="block">Invoked when a relative quadratic bezier curve command has been parsed.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/util/svg/PathHandler.html#curvetoQuadraticSmoothAbs(float, float)">curvetoQuadraticSmoothAbs</a></strong>(float&nbsp;x,
float&nbsp;y)</code>
<div class="block">Invoked when an absolute smooth quadratic bezier curve command
has been parsed.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/util/svg/PathHandler.html#curvetoQuadraticSmoothRel(float, float)">curvetoQuadraticSmoothRel</a></strong>(float&nbsp;x,
float&nbsp;y)</code>
<div class="block">Invoked when a relative smooth quadratic bezier curve command
has been parsed.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/util/svg/PathHandler.html#endPath()">endPath</a></strong>()</code>
<div class="block">Invoked when the path ends.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/util/svg/PathHandler.html#linetoAbs(float, float)">linetoAbs</a></strong>(float&nbsp;x,
float&nbsp;y)</code>
<div class="block">Invoked when an absolute line command has been parsed.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/util/svg/PathHandler.html#linetoHorizontalAbs(float)">linetoHorizontalAbs</a></strong>(float&nbsp;x)</code>
<div class="block">Invoked when an horizontal absolute line command has been parsed.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/util/svg/PathHandler.html#linetoHorizontalRel(float)">linetoHorizontalRel</a></strong>(float&nbsp;x)</code>
<div class="block">Invoked when an horizontal relative line command has been parsed.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/util/svg/PathHandler.html#linetoRel(float, float)">linetoRel</a></strong>(float&nbsp;x,
float&nbsp;y)</code>
<div class="block">Invoked when a relative line command has been parsed.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/util/svg/PathHandler.html#linetoVerticalAbs(float)">linetoVerticalAbs</a></strong>(float&nbsp;y)</code>
<div class="block">Invoked when a vertical absolute line command has been parsed.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/util/svg/PathHandler.html#linetoVerticalRel(float)">linetoVerticalRel</a></strong>(float&nbsp;y)</code>
<div class="block">Invoked when a vertical relative line command has been parsed.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/util/svg/PathHandler.html#movetoAbs(float, float)">movetoAbs</a></strong>(float&nbsp;x,
float&nbsp;y)</code>
<div class="block">Invoked when an absolute moveto command has been parsed.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/util/svg/PathHandler.html#movetoRel(float, float)">movetoRel</a></strong>(float&nbsp;x,
float&nbsp;y)</code>
<div class="block">Invoked when a relative moveto command has been parsed.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/util/svg/PathHandler.html#startPath()">startPath</a></strong>()</code>
<div class="block">Invoked when the path starts.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="startPath()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>startPath</h4>
<pre>void&nbsp;startPath()
throws <a href="../../../../com/mxgraph/util/svg/ParseException.html" title="class in com.mxgraph.util.svg">ParseException</a></pre>
<div class="block">Invoked when the path starts.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../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>
<a name="endPath()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>endPath</h4>
<pre>void&nbsp;endPath()
throws <a href="../../../../com/mxgraph/util/svg/ParseException.html" title="class in com.mxgraph.util.svg">ParseException</a></pre>
<div class="block">Invoked when the path ends.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../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>
<a name="movetoRel(float, float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>movetoRel</h4>
<pre>void&nbsp;movetoRel(float&nbsp;x,
float&nbsp;y)
throws <a href="../../../../com/mxgraph/util/svg/ParseException.html" title="class in com.mxgraph.util.svg">ParseException</a></pre>
<div class="block">Invoked when a relative moveto command has been parsed.
<p>Command : <b>m</b></div>
<dl><dt><span class="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><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../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>
<a name="movetoAbs(float, float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>movetoAbs</h4>
<pre>void&nbsp;movetoAbs(float&nbsp;x,
float&nbsp;y)
throws <a href="../../../../com/mxgraph/util/svg/ParseException.html" title="class in com.mxgraph.util.svg">ParseException</a></pre>
<div class="block">Invoked when an absolute moveto command has been parsed.
<p>Command : <b>M</b></div>
<dl><dt><span class="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><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../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>
<a name="closePath()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>closePath</h4>
<pre>void&nbsp;closePath()
throws <a href="../../../../com/mxgraph/util/svg/ParseException.html" title="class in com.mxgraph.util.svg">ParseException</a></pre>
<div class="block">Invoked when a closepath has been parsed.
<p>Command : <b>z</b> | <b>Z</b></div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../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>
<a name="linetoRel(float, float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>linetoRel</h4>
<pre>void&nbsp;linetoRel(float&nbsp;x,
float&nbsp;y)
throws <a href="../../../../com/mxgraph/util/svg/ParseException.html" title="class in com.mxgraph.util.svg">ParseException</a></pre>
<div class="block">Invoked when a relative line command has been parsed.
<p>Command : <b>l</b></div>
<dl><dt><span class="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><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../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>
<a name="linetoAbs(float, float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>linetoAbs</h4>
<pre>void&nbsp;linetoAbs(float&nbsp;x,
float&nbsp;y)
throws <a href="../../../../com/mxgraph/util/svg/ParseException.html" title="class in com.mxgraph.util.svg">ParseException</a></pre>
<div class="block">Invoked when an absolute line command has been parsed.
<p>Command : <b>L</b></div>
<dl><dt><span class="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><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../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>
<a name="linetoHorizontalRel(float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>linetoHorizontalRel</h4>
<pre>void&nbsp;linetoHorizontalRel(float&nbsp;x)
throws <a href="../../../../com/mxgraph/util/svg/ParseException.html" title="class in com.mxgraph.util.svg">ParseException</a></pre>
<div class="block">Invoked when an horizontal relative line command has been parsed.
<p>Command : <b>h</b></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - the relative X coordinate of the end point</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../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>
<a name="linetoHorizontalAbs(float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>linetoHorizontalAbs</h4>
<pre>void&nbsp;linetoHorizontalAbs(float&nbsp;x)
throws <a href="../../../../com/mxgraph/util/svg/ParseException.html" title="class in com.mxgraph.util.svg">ParseException</a></pre>
<div class="block">Invoked when an horizontal absolute line command has been parsed.
<p>Command : <b>H</b></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - the absolute X coordinate of the end point</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../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>
<a name="linetoVerticalRel(float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>linetoVerticalRel</h4>
<pre>void&nbsp;linetoVerticalRel(float&nbsp;y)
throws <a href="../../../../com/mxgraph/util/svg/ParseException.html" title="class in com.mxgraph.util.svg">ParseException</a></pre>
<div class="block">Invoked when a vertical relative line command has been parsed.
<p>Command : <b>v</b></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>y</code> - the relative Y coordinate of the end point</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../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>
<a name="linetoVerticalAbs(float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>linetoVerticalAbs</h4>
<pre>void&nbsp;linetoVerticalAbs(float&nbsp;y)
throws <a href="../../../../com/mxgraph/util/svg/ParseException.html" title="class in com.mxgraph.util.svg">ParseException</a></pre>
<div class="block">Invoked when a vertical absolute line command has been parsed.
<p>Command : <b>V</b></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>y</code> - the absolute Y coordinate of the end point</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../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>
<a name="curvetoCubicRel(float, float, float, float, float, float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>curvetoCubicRel</h4>
<pre>void&nbsp;curvetoCubicRel(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;x2,
float&nbsp;y2,
float&nbsp;x,
float&nbsp;y)
throws <a href="../../../../com/mxgraph/util/svg/ParseException.html" title="class in com.mxgraph.util.svg">ParseException</a></pre>
<div class="block">Invoked when a relative cubic bezier curve command has been parsed.
<p>Command : <b>c</b></div>
<dl><dt><span class="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><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../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>
<a name="curvetoCubicAbs(float, float, float, float, float, float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>curvetoCubicAbs</h4>
<pre>void&nbsp;curvetoCubicAbs(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;x2,
float&nbsp;y2,
float&nbsp;x,
float&nbsp;y)
throws <a href="../../../../com/mxgraph/util/svg/ParseException.html" title="class in com.mxgraph.util.svg">ParseException</a></pre>
<div class="block">Invoked when an absolute cubic bezier curve command has been parsed.
<p>Command : <b>C</b></div>
<dl><dt><span class="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><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../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>
<a name="curvetoCubicSmoothRel(float, float, float, float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>curvetoCubicSmoothRel</h4>
<pre>void&nbsp;curvetoCubicSmoothRel(float&nbsp;x2,
float&nbsp;y2,
float&nbsp;x,
float&nbsp;y)
throws <a href="../../../../com/mxgraph/util/svg/ParseException.html" title="class in com.mxgraph.util.svg">ParseException</a></pre>
<div class="block">Invoked when a relative smooth cubic bezier curve command has
2012-05-21 20:32:26 +00:00
been parsed. The first control point is assumed to be the
reflection of the second control point on the previous command
relative to the current point.
2014-04-01 11:30:48 +00:00
<p>Command : <b>s</b></div>
<dl><dt><span class="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><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../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>
<a name="curvetoCubicSmoothAbs(float, float, float, float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>curvetoCubicSmoothAbs</h4>
<pre>void&nbsp;curvetoCubicSmoothAbs(float&nbsp;x2,
float&nbsp;y2,
float&nbsp;x,
float&nbsp;y)
throws <a href="../../../../com/mxgraph/util/svg/ParseException.html" title="class in com.mxgraph.util.svg">ParseException</a></pre>
<div class="block">Invoked when an absolute smooth cubic bezier curve command has
2012-05-21 20:32:26 +00:00
been parsed. The first control point is assumed to be the
reflection of the second control point on the previous command
relative to the current point.
2014-04-01 11:30:48 +00:00
<p>Command : <b>S</b></div>
<dl><dt><span class="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><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../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>
<a name="curvetoQuadraticRel(float, float, float, float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>curvetoQuadraticRel</h4>
<pre>void&nbsp;curvetoQuadraticRel(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;x,
float&nbsp;y)
throws <a href="../../../../com/mxgraph/util/svg/ParseException.html" title="class in com.mxgraph.util.svg">ParseException</a></pre>
<div class="block">Invoked when a relative quadratic bezier curve command has been parsed.
<p>Command : <b>q</b></div>
<dl><dt><span class="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><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../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>
<a name="curvetoQuadraticAbs(float, float, float, float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>curvetoQuadraticAbs</h4>
<pre>void&nbsp;curvetoQuadraticAbs(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;x,
float&nbsp;y)
throws <a href="../../../../com/mxgraph/util/svg/ParseException.html" title="class in com.mxgraph.util.svg">ParseException</a></pre>
<div class="block">Invoked when an absolute quadratic bezier curve command has been parsed.
<p>Command : <b>Q</b></div>
<dl><dt><span class="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><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../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>
<a name="curvetoQuadraticSmoothRel(float, float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>curvetoQuadraticSmoothRel</h4>
<pre>void&nbsp;curvetoQuadraticSmoothRel(float&nbsp;x,
float&nbsp;y)
throws <a href="../../../../com/mxgraph/util/svg/ParseException.html" title="class in com.mxgraph.util.svg">ParseException</a></pre>
<div class="block">Invoked when a relative smooth quadratic bezier curve command
2012-05-21 20:32:26 +00:00
has been parsed. The control point is assumed to be the
reflection of the control point on the previous command
relative to the current point.
2014-04-01 11:30:48 +00:00
<p>Command : <b>t</b></div>
<dl><dt><span class="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><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../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>
<a name="curvetoQuadraticSmoothAbs(float, float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>curvetoQuadraticSmoothAbs</h4>
<pre>void&nbsp;curvetoQuadraticSmoothAbs(float&nbsp;x,
float&nbsp;y)
throws <a href="../../../../com/mxgraph/util/svg/ParseException.html" title="class in com.mxgraph.util.svg">ParseException</a></pre>
<div class="block">Invoked when an absolute smooth quadratic bezier curve command
2012-05-21 20:32:26 +00:00
has been parsed. The control point is assumed to be the
reflection of the control point on the previous command
relative to the current point.
2014-04-01 11:30:48 +00:00
<p>Command : <b>T</b></div>
<dl><dt><span class="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><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../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>
<a name="arcRel(float, float, float, boolean, boolean, float, float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>arcRel</h4>
<pre>void&nbsp;arcRel(float&nbsp;rx,
float&nbsp;ry,
float&nbsp;xAxisRotation,
boolean&nbsp;largeArcFlag,
boolean&nbsp;sweepFlag,
float&nbsp;x,
float&nbsp;y)
throws <a href="../../../../com/mxgraph/util/svg/ParseException.html" title="class in com.mxgraph.util.svg">ParseException</a></pre>
<div class="block">Invoked when a relative elliptical arc command has been parsed.
<p>Command : <b>a</b></div>
<dl><dt><span class="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><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../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>
<a name="arcAbs(float, float, float, boolean, boolean, float, float)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>arcAbs</h4>
<pre>void&nbsp;arcAbs(float&nbsp;rx,
float&nbsp;ry,
float&nbsp;xAxisRotation,
boolean&nbsp;largeArcFlag,
boolean&nbsp;sweepFlag,
float&nbsp;x,
float&nbsp;y)
throws <a href="../../../../com/mxgraph/util/svg/ParseException.html" title="class in com.mxgraph.util.svg">ParseException</a></pre>
<div class="block">Invoked when an absolute elliptical arc command has been parsed.
<p>Command : <b>A</b></div>
<dl><dt><span class="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><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../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>
</li>
</ul>
</li>
</ul>
</div>
</div>
2012-05-21 20:32:26 +00:00
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
2014-04-01 11:30:48 +00:00
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/PathHandler.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
2016-04-06 08:10:17 +00:00
<div class="aboutLanguage"><em><p><b>mxGraph 3.5.1.0</b></p></em></div>
2014-04-01 11:30:48 +00:00
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../com/mxgraph/util/svg/Parser.html" title="interface in com.mxgraph.util.svg"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../com/mxgraph/util/svg/PathParser.html" title="class in com.mxgraph.util.svg"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/mxgraph/util/svg/PathHandler.html" target="_top">Frames</a></li>
<li><a href="PathHandler.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
2012-05-21 20:32:26 +00:00
if(window==top) {
2014-04-01 11:30:48 +00:00
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
2012-05-21 20:32:26 +00:00
}
//-->
2014-04-01 11:30:48 +00:00
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
2012-05-21 20:32:26 +00:00
<!-- ======== END OF BOTTOM NAVBAR ======= -->
2014-04-01 11:30:48 +00:00
<p class="legalCopy"><small><font size=1>Copyright (c) 2010 <a href="http://www.mxgraph.com/"
target="_blank">Gaudenz Alder, David Benson</a>. All rights reserved.</font></small></p>
</body>
</html>