739 lines
36 KiB
HTML
739 lines
36 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (version 1.7.0_51) on Fri Mar 13 04:25:10 EDT 2015 -->
|
|
<title>PathHandler (mxGraph 3.2.0.0 API Specification)</title>
|
|
<meta name="date" content="2015-03-13">
|
|
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="PathHandler (mxGraph 3.2.0.0 API Specification)";
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<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>
|
|
<div class="aboutLanguage"><em><p><b>mxGraph 3.2.0.0</b></p></em></div>
|
|
</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");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method_summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method_detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip-navbar_top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<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
|
|
handler of a <code>PathParser</code> instance in order to be
|
|
notified of parsing events.</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<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"> </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 rx,
|
|
float ry,
|
|
float xAxisRotation,
|
|
boolean largeArcFlag,
|
|
boolean sweepFlag,
|
|
float x,
|
|
float 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 rx,
|
|
float ry,
|
|
float xAxisRotation,
|
|
boolean largeArcFlag,
|
|
boolean sweepFlag,
|
|
float x,
|
|
float 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 x1,
|
|
float y1,
|
|
float x2,
|
|
float y2,
|
|
float x,
|
|
float 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 x1,
|
|
float y1,
|
|
float x2,
|
|
float y2,
|
|
float x,
|
|
float 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 x2,
|
|
float y2,
|
|
float x,
|
|
float 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 x2,
|
|
float y2,
|
|
float x,
|
|
float 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 x1,
|
|
float y1,
|
|
float x,
|
|
float 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 x1,
|
|
float y1,
|
|
float x,
|
|
float 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 x,
|
|
float 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 x,
|
|
float 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 x,
|
|
float 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 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 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 x,
|
|
float 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 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 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 x,
|
|
float 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 x,
|
|
float 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 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 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 movetoRel(float x,
|
|
float 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 movetoAbs(float x,
|
|
float 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 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 linetoRel(float x,
|
|
float 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 linetoAbs(float x,
|
|
float 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 linetoHorizontalRel(float 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 linetoHorizontalAbs(float 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 linetoVerticalRel(float 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 linetoVerticalAbs(float 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 curvetoCubicRel(float x1,
|
|
float y1,
|
|
float x2,
|
|
float y2,
|
|
float x,
|
|
float 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 curvetoCubicAbs(float x1,
|
|
float y1,
|
|
float x2,
|
|
float y2,
|
|
float x,
|
|
float 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 curvetoCubicSmoothRel(float x2,
|
|
float y2,
|
|
float x,
|
|
float 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
|
|
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.
|
|
<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 curvetoCubicSmoothAbs(float x2,
|
|
float y2,
|
|
float x,
|
|
float 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
|
|
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.
|
|
<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 curvetoQuadraticRel(float x1,
|
|
float y1,
|
|
float x,
|
|
float 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 curvetoQuadraticAbs(float x1,
|
|
float y1,
|
|
float x,
|
|
float 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 curvetoQuadraticSmoothRel(float x,
|
|
float 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
|
|
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.
|
|
<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 curvetoQuadraticSmoothAbs(float x,
|
|
float 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
|
|
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.
|
|
<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 arcRel(float rx,
|
|
float ry,
|
|
float xAxisRotation,
|
|
boolean largeArcFlag,
|
|
boolean sweepFlag,
|
|
float x,
|
|
float 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 arcAbs(float rx,
|
|
float ry,
|
|
float xAxisRotation,
|
|
boolean largeArcFlag,
|
|
boolean sweepFlag,
|
|
float x,
|
|
float 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>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<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>
|
|
<div class="aboutLanguage"><em><p><b>mxGraph 3.2.0.0</b></p></em></div>
|
|
</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");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method_summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method_detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip-navbar_bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
<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>
|