854 lines
38 KiB
HTML
854 lines
38 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 (1.8.0_101) on Mon Jan 16 09:34:50 CET 2017 -->
|
|
<title>PathHandler (mxGraph 3.7.0.0 API Specification)</title>
|
|
<meta name="date" content="2017-01-16">
|
|
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
|
<script type="text/javascript" src="../../../../script.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
try {
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="PathHandler (mxGraph 3.7.0.0 API Specification)";
|
|
}
|
|
}
|
|
catch(err) {
|
|
}
|
|
//-->
|
|
var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6};
|
|
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
|
|
var altColor = "altColor";
|
|
var rowColor = "rowColor";
|
|
var tableTab = "tableTab";
|
|
var activeTableTab = "activeTableTab";
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<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"><p><b>mxGraph 3.7.0.0</b></p></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="typeNameLink">Prev Class</span></a></li>
|
|
<li><a href="../../../../com/mxgraph/util/svg/PathParser.html" title="class in com.mxgraph.util.svg"><span class="typeNameLink">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="typeNameLabel">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="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
|
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tr id="i0" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mxgraph/util/svg/PathHandler.html#arcAbs-float-float-float-boolean-boolean-float-float-">arcAbs</a></span>(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 id="i1" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mxgraph/util/svg/PathHandler.html#arcRel-float-float-float-boolean-boolean-float-float-">arcRel</a></span>(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 id="i2" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mxgraph/util/svg/PathHandler.html#closePath--">closePath</a></span>()</code>
|
|
<div class="block">Invoked when a closepath has been parsed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i3" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mxgraph/util/svg/PathHandler.html#curvetoCubicAbs-float-float-float-float-float-float-">curvetoCubicAbs</a></span>(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 id="i4" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mxgraph/util/svg/PathHandler.html#curvetoCubicRel-float-float-float-float-float-float-">curvetoCubicRel</a></span>(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 id="i5" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mxgraph/util/svg/PathHandler.html#curvetoCubicSmoothAbs-float-float-float-float-">curvetoCubicSmoothAbs</a></span>(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 id="i6" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mxgraph/util/svg/PathHandler.html#curvetoCubicSmoothRel-float-float-float-float-">curvetoCubicSmoothRel</a></span>(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 id="i7" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mxgraph/util/svg/PathHandler.html#curvetoQuadraticAbs-float-float-float-float-">curvetoQuadraticAbs</a></span>(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 id="i8" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mxgraph/util/svg/PathHandler.html#curvetoQuadraticRel-float-float-float-float-">curvetoQuadraticRel</a></span>(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 id="i9" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mxgraph/util/svg/PathHandler.html#curvetoQuadraticSmoothAbs-float-float-">curvetoQuadraticSmoothAbs</a></span>(float x,
|
|
float y)</code>
|
|
<div class="block">Invoked when an absolute smooth quadratic bezier curve command
|
|
has been parsed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i10" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mxgraph/util/svg/PathHandler.html#curvetoQuadraticSmoothRel-float-float-">curvetoQuadraticSmoothRel</a></span>(float x,
|
|
float y)</code>
|
|
<div class="block">Invoked when a relative smooth quadratic bezier curve command
|
|
has been parsed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i11" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mxgraph/util/svg/PathHandler.html#endPath--">endPath</a></span>()</code>
|
|
<div class="block">Invoked when the path ends.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i12" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mxgraph/util/svg/PathHandler.html#linetoAbs-float-float-">linetoAbs</a></span>(float x,
|
|
float y)</code>
|
|
<div class="block">Invoked when an absolute line command has been parsed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i13" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mxgraph/util/svg/PathHandler.html#linetoHorizontalAbs-float-">linetoHorizontalAbs</a></span>(float x)</code>
|
|
<div class="block">Invoked when an horizontal absolute line command has been parsed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i14" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mxgraph/util/svg/PathHandler.html#linetoHorizontalRel-float-">linetoHorizontalRel</a></span>(float x)</code>
|
|
<div class="block">Invoked when an horizontal relative line command has been parsed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i15" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mxgraph/util/svg/PathHandler.html#linetoRel-float-float-">linetoRel</a></span>(float x,
|
|
float y)</code>
|
|
<div class="block">Invoked when a relative line command has been parsed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i16" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mxgraph/util/svg/PathHandler.html#linetoVerticalAbs-float-">linetoVerticalAbs</a></span>(float y)</code>
|
|
<div class="block">Invoked when a vertical absolute line command has been parsed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i17" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mxgraph/util/svg/PathHandler.html#linetoVerticalRel-float-">linetoVerticalRel</a></span>(float y)</code>
|
|
<div class="block">Invoked when a vertical relative line command has been parsed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i18" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mxgraph/util/svg/PathHandler.html#movetoAbs-float-float-">movetoAbs</a></span>(float x,
|
|
float y)</code>
|
|
<div class="block">Invoked when an absolute moveto command has been parsed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i19" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mxgraph/util/svg/PathHandler.html#movetoRel-float-float-">movetoRel</a></span>(float x,
|
|
float y)</code>
|
|
<div class="block">Invoked when a relative moveto command has been parsed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i20" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/mxgraph/util/svg/PathHandler.html#startPath--">startPath</a></span>()</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="throwsLabel">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="throwsLabel">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="paramLabel">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="throwsLabel">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="paramLabel">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="throwsLabel">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="throwsLabel">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="paramLabel">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="throwsLabel">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="paramLabel">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="throwsLabel">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="paramLabel">Parameters:</span></dt>
|
|
<dd><code>x</code> - the relative X coordinate of the end point</dd>
|
|
<dt><span class="throwsLabel">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="paramLabel">Parameters:</span></dt>
|
|
<dd><code>x</code> - the absolute X coordinate of the end point</dd>
|
|
<dt><span class="throwsLabel">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="paramLabel">Parameters:</span></dt>
|
|
<dd><code>y</code> - the relative Y coordinate of the end point</dd>
|
|
<dt><span class="throwsLabel">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="paramLabel">Parameters:</span></dt>
|
|
<dd><code>y</code> - the absolute Y coordinate of the end point</dd>
|
|
<dt><span class="throwsLabel">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="paramLabel">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="throwsLabel">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="paramLabel">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="throwsLabel">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="paramLabel">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="throwsLabel">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="paramLabel">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="throwsLabel">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="paramLabel">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="throwsLabel">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="paramLabel">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="throwsLabel">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="paramLabel">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="throwsLabel">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="paramLabel">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="throwsLabel">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="paramLabel">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="throwsLabel">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="paramLabel">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="throwsLabel">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>
|
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
|
<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"><p><b>mxGraph 3.7.0.0</b></p></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="typeNameLink">Prev Class</span></a></li>
|
|
<li><a href="../../../../com/mxgraph/util/svg/PathParser.html" title="class in com.mxgraph.util.svg"><span class="typeNameLink">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>
|