maxGraph/java/docs/com/mxgraph/canvas/mxICanvas2D.html

1282 lines
44 KiB
HTML
Raw Normal View History

2019-07-02 06:45:58 +00:00
<!DOCTYPE HTML>
2014-04-01 11:30:48 +00:00
<!-- NewPage -->
<html lang="en">
<head>
2020-01-24 13:46:50 +00:00
<!-- Generated by javadoc (11.0.5) on Fri Jan 24 13:39:46 UTC 2020 -->
2020-01-24 13:32:03 +00:00
<title>mxICanvas2D (mxGraph 4.1.0 API Specification)</title>
2018-11-06 11:46:01 +00:00
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2020-01-24 13:32:03 +00:00
<meta name="dc.created" content="2020-01-24">
2014-04-01 11:30:48 +00:00
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
2018-11-06 11:46:01 +00:00
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
2016-06-02 09:57:18 +00:00
<script type="text/javascript" src="../../../script.js"></script>
2018-11-06 11:46:01 +00:00
<script type="text/javascript" src="../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
2019-07-02 06:45:58 +00:00
<script type="text/javascript" src="../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-migrate-3.0.1.js"></script>
2018-11-06 11:46:01 +00:00
<script type="text/javascript" src="../../../jquery/jquery-ui.js"></script>
2014-04-01 11:30:48 +00:00
</head>
<body>
<script type="text/javascript"><!--
2016-06-02 09:57:18 +00:00
try {
if (location.href.indexOf('is-external=true') == -1) {
2020-01-24 13:32:03 +00:00
parent.document.title="mxICanvas2D (mxGraph 4.1.0 API Specification)";
2016-06-02 09:57:18 +00:00
}
}
catch(err) {
2012-05-21 20:32:26 +00:00
}
2014-04-01 11:30:48 +00:00
//-->
2019-07-02 06:45:58 +00:00
var data = {"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,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6,"i34":6,"i35":6,"i36":6,"i37":6,"i38":6,"i39":6,"i40":6,"i41":6};
2016-06-02 09:57:18 +00:00
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";
2019-07-02 06:45:58 +00:00
var pathtoroot = "../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
2014-04-01 11:30:48 +00:00
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
2019-07-02 06:45:58 +00:00
<header role="banner">
<nav role="navigation">
2018-11-06 11:46:01 +00:00
<div class="fixedNav">
2012-05-21 20:32:26 +00:00
<!-- ========= START OF TOP NAVBAR ======= -->
2019-07-02 06:45:58 +00:00
<div class="topNav"><a id="navbar.top">
2014-04-01 11:30:48 +00:00
<!-- -->
2016-06-02 09:57:18 +00:00
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
2019-07-02 06:45:58 +00:00
<a id="navbar.top.firstrow">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="navList" title="Navigation">
2019-07-02 06:45:58 +00:00
<li><a href="../../../index.html">Overview</a></li>
2014-04-01 11:30:48 +00:00
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/mxICanvas2D.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>
2020-01-24 13:32:03 +00:00
<div class="aboutLanguage"><p><b>mxGraph 4.1.0</b></p></div>
2014-04-01 11:30:48 +00:00
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
2019-07-02 06:45:58 +00:00
<li><a href="../../../allclasses.html">All&nbsp;Classes</a></li>
2014-04-01 11:30:48 +00:00
</ul>
2018-11-06 11:46:01 +00:00
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
2014-04-01 11:30:48 +00:00
<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>
2018-11-06 11:46:01 +00:00
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
2014-04-01 11:30:48 +00:00
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
2016-06-02 09:57:18 +00:00
<li><a href="#method.summary">Method</a></li>
2014-04-01 11:30:48 +00:00
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
2016-06-02 09:57:18 +00:00
<li><a href="#method.detail">Method</a></li>
2014-04-01 11:30:48 +00:00
</ul>
</div>
2019-07-02 06:45:58 +00:00
<a id="skip.navbar.top">
2014-04-01 11:30:48 +00:00
<!-- -->
</a></div>
2012-05-21 20:32:26 +00:00
<!-- ========= END OF TOP NAVBAR ========= -->
2018-11-06 11:46:01 +00:00
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
2019-07-02 06:45:58 +00:00
</nav>
</header>
2012-05-21 20:32:26 +00:00
<!-- ======== START OF CLASS DATA ======== -->
2019-07-02 06:45:58 +00:00
<main role="main">
2014-04-01 11:30:48 +00:00
<div class="header">
2019-07-02 06:45:58 +00:00
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">com.mxgraph.canvas</a></div>
2014-04-01 11:30:48 +00:00
<h2 title="Interface mxICanvas2D" class="title">Interface mxICanvas2D</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Implementing Classes:</dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxGraphicsCanvas2D.html" title="class in com.mxgraph.canvas">mxGraphicsCanvas2D</a></code></dd>
2014-04-01 11:30:48 +00:00
</dl>
<hr>
2016-06-02 09:57:18 +00:00
<pre>public interface <span class="typeNameLabel">mxICanvas2D</span></pre>
2014-04-01 11:30:48 +00:00
<div class="block">Requirements for implementing technologies:
2012-05-21 20:32:26 +00:00
- Path rendering (move, line, quad, curve, arc)
- Images, flip v/h, aspect, alpha (PNG, JPG, GIF)
- Linear gradients (in all four directions)
- Transparency, fill and stroke
- Rotation, flip v/h
- Font rendering
- Dash patterns
- Clipping by path (not just rectangle)
- Alpha gradients (for glass effect)
2014-04-01 11:30:48 +00:00
- Encode result as image (PNG, JPG)</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
2012-05-21 20:32:26 +00:00
<!-- ========== METHOD SUMMARY =========== -->
2019-07-02 06:45:58 +00:00
<section role="region">
2014-04-01 11:30:48 +00:00
<ul class="blockList">
2019-07-02 06:45:58 +00:00
<li class="blockList"><a id="method.summary">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<h3>Method Summary</h3>
2019-07-02 06:45:58 +00:00
<table class="memberSummary">
2016-06-02 09:57:18 +00:00
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
2014-04-01 11:30:48 +00:00
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i0" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#begin()">begin</a></span>()</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Begins a new path.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i1" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#close()">close</a></span>()</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Closes the current path.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i2" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#curveTo(double,double,double,double,double,double)">curveTo</a></span>&#8203;(double&nbsp;x1,
2012-05-21 20:32:26 +00:00
double&nbsp;y1,
double&nbsp;x2,
2014-04-01 11:30:48 +00:00
double&nbsp;y2,
double&nbsp;x3,
2018-11-06 11:46:01 +00:00
double&nbsp;y3)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Draws a bezier curve to the given point.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i3" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ellipse(double,double,double,double)">ellipse</a></span>&#8203;(double&nbsp;x,
2014-04-01 11:30:48 +00:00
double&nbsp;y,
double&nbsp;w,
2018-11-06 11:46:01 +00:00
double&nbsp;h)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Next fill or stroke should draw an ellipse.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i4" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fill()">fill</a></span>()</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Fills the current path.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i5" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fillAndStroke()">fillAndStroke</a></span>()</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Fills and paints the outline of the current path.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i6" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#image(double,double,double,double,java.lang.String,boolean,boolean,boolean)">image</a></span>&#8203;(double&nbsp;x,
2012-05-21 20:32:26 +00:00
double&nbsp;y,
double&nbsp;w,
double&nbsp;h,
2017-11-24 16:16:54 +00:00
java.lang.String&nbsp;src,
2014-04-01 11:30:48 +00:00
boolean&nbsp;aspect,
boolean&nbsp;flipH,
2018-11-06 11:46:01 +00:00
boolean&nbsp;flipV)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Draws the given image.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i7" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#lineTo(double,double)">lineTo</a></span>&#8203;(double&nbsp;x,
2018-11-06 11:46:01 +00:00
double&nbsp;y)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Draws a line to the given path.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i8" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#moveTo(double,double)">moveTo</a></span>&#8203;(double&nbsp;x,
2018-11-06 11:46:01 +00:00
double&nbsp;y)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Moves to the given path.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i9" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#quadTo(double,double,double,double)">quadTo</a></span>&#8203;(double&nbsp;x1,
2014-04-01 11:30:48 +00:00
double&nbsp;y1,
double&nbsp;x2,
2018-11-06 11:46:01 +00:00
double&nbsp;y2)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Draws a quadratic curve to the given point.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i10" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rect(double,double,double,double)">rect</a></span>&#8203;(double&nbsp;x,
2014-04-01 11:30:48 +00:00
double&nbsp;y,
double&nbsp;w,
2018-11-06 11:46:01 +00:00
double&nbsp;h)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Next fill or stroke should draw a rectangle.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i11" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#restore()">restore</a></span>()</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Restores the previous state of the canvas.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i12" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rotate(double,boolean,boolean,double,double)">rotate</a></span>&#8203;(double&nbsp;theta,
2014-04-01 11:30:48 +00:00
boolean&nbsp;flipH,
boolean&nbsp;flipV,
double&nbsp;cx,
2018-11-06 11:46:01 +00:00
double&nbsp;cy)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Rotates the canvas by the given angle around the given center.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i13" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#roundrect(double,double,double,double,double,double)">roundrect</a></span>&#8203;(double&nbsp;x,
2014-04-01 11:30:48 +00:00
double&nbsp;y,
double&nbsp;w,
double&nbsp;h,
double&nbsp;dx,
2018-11-06 11:46:01 +00:00
double&nbsp;dy)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Next fill or stroke should draw a round rectangle.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i14" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#save()">save</a></span>()</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Saves the current state of the canvas.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i15" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#scale(double)">scale</a></span>&#8203;(double&nbsp;value)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Uniformaly scales the canvas by the given amount.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i16" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAlpha(double)">setAlpha</a></span>&#8203;(double&nbsp;value)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Default value 1.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i17" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDashed(boolean)">setDashed</a></span>&#8203;(boolean&nbsp;value)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Sets the dashed state.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i18" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDashed(boolean,boolean)">setDashed</a></span>&#8203;(boolean&nbsp;value,
2018-11-06 11:46:01 +00:00
boolean&nbsp;fixDash)</code></th>
<td class="colLast">
2017-08-28 09:54:36 +00:00
<div class="block">Sets the dashed state.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDashPattern(java.lang.String)">setDashPattern</a></span>&#8203;(java.lang.String&nbsp;value)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Sets the dash pattern.</div>
</td>
</tr>
2017-08-28 09:54:36 +00:00
<tr id="i20" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setFillAlpha(double)">setFillAlpha</a></span>&#8203;(double&nbsp;value)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2016-04-06 08:10:17 +00:00
<div class="block">Default value 1.</div>
</td>
</tr>
2017-08-28 09:54:36 +00:00
<tr id="i21" class="rowColor">
2016-04-06 08:10:17 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setFillColor(java.lang.String)">setFillColor</a></span>&#8203;(java.lang.String&nbsp;value)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2019-07-02 06:45:58 +00:00
<div class="block">Default value <a href="../util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</div>
2014-04-01 11:30:48 +00:00
</td>
</tr>
2017-08-28 09:54:36 +00:00
<tr id="i22" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setFontBackgroundColor(java.lang.String)">setFontBackgroundColor</a></span>&#8203;(java.lang.String&nbsp;value)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Default value "#000000".</div>
</td>
</tr>
2017-08-28 09:54:36 +00:00
<tr id="i23" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setFontBorderColor(java.lang.String)">setFontBorderColor</a></span>&#8203;(java.lang.String&nbsp;value)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Default value "#000000".</div>
</td>
</tr>
2017-08-28 09:54:36 +00:00
<tr id="i24" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setFontColor(java.lang.String)">setFontColor</a></span>&#8203;(java.lang.String&nbsp;value)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Default value "#000000".</div>
</td>
</tr>
2017-08-28 09:54:36 +00:00
<tr id="i25" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setFontFamily(java.lang.String)">setFontFamily</a></span>&#8203;(java.lang.String&nbsp;value)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2019-07-02 06:45:58 +00:00
<div class="block">Default value <a href="../util/mxConstants.html#DEFAULT_FONTFAMILY"><code>mxConstants.DEFAULT_FONTFAMILY</code></a>.</div>
2014-04-01 11:30:48 +00:00
</td>
</tr>
2017-08-28 09:54:36 +00:00
<tr id="i26" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setFontSize(double)">setFontSize</a></span>&#8203;(double&nbsp;value)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2019-07-02 06:45:58 +00:00
<div class="block">Default value <a href="../util/mxConstants.html#DEFAULT_FONTSIZE"><code>mxConstants.DEFAULT_FONTSIZE</code></a>.</div>
2014-04-01 11:30:48 +00:00
</td>
</tr>
2017-08-28 09:54:36 +00:00
<tr id="i27" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setFontStyle(int)">setFontStyle</a></span>&#8203;(int&nbsp;value)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Default value 0.</div>
</td>
</tr>
2017-08-28 09:54:36 +00:00
<tr id="i28" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setGradient(java.lang.String,java.lang.String,double,double,double,double,java.lang.String,double,double)">setGradient</a></span>&#8203;(java.lang.String&nbsp;color1,
2017-11-24 16:16:54 +00:00
java.lang.String&nbsp;color2,
2014-04-01 11:30:48 +00:00
double&nbsp;x,
double&nbsp;y,
double&nbsp;w,
double&nbsp;h,
2017-11-24 16:16:54 +00:00
java.lang.String&nbsp;direction,
2014-04-01 11:30:48 +00:00
double&nbsp;alpha1,
2018-11-06 11:46:01 +00:00
double&nbsp;alpha2)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Prepares the canvas to draw a gradient.</div>
</td>
</tr>
2017-08-28 09:54:36 +00:00
<tr id="i29" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setLineCap(java.lang.String)">setLineCap</a></span>&#8203;(java.lang.String&nbsp;value)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Sets the linecap.</div>
</td>
</tr>
2017-08-28 09:54:36 +00:00
<tr id="i30" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setLineJoin(java.lang.String)">setLineJoin</a></span>&#8203;(java.lang.String&nbsp;value)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Sets the linejoin.</div>
</td>
</tr>
2017-08-28 09:54:36 +00:00
<tr id="i31" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMiterLimit(double)">setMiterLimit</a></span>&#8203;(double&nbsp;value)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Sets the miterlimit.</div>
</td>
</tr>
2017-08-28 09:54:36 +00:00
<tr id="i32" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setShadow(boolean)">setShadow</a></span>&#8203;(boolean&nbsp;enabled)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Enables or disables the painting of shadows.</div>
</td>
</tr>
2017-08-28 09:54:36 +00:00
<tr id="i33" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setShadowAlpha(double)">setShadowAlpha</a></span>&#8203;(double&nbsp;value)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2019-07-02 06:45:58 +00:00
<div class="block">Default value <a href="../util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</div>
2014-04-01 11:30:48 +00:00
</td>
</tr>
2017-08-28 09:54:36 +00:00
<tr id="i34" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setShadowColor(java.lang.String)">setShadowColor</a></span>&#8203;(java.lang.String&nbsp;value)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2019-07-02 06:45:58 +00:00
<div class="block">Default value <a href="../util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</div>
2014-04-01 11:30:48 +00:00
</td>
</tr>
2017-08-28 09:54:36 +00:00
<tr id="i35" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setShadowOffset(double,double)">setShadowOffset</a></span>&#8203;(double&nbsp;dx,
2018-11-06 11:46:01 +00:00
double&nbsp;dy)</code></th>
<td class="colLast">
2019-07-02 06:45:58 +00:00
<div class="block">Default value <a href="../util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</div>
2014-04-01 11:30:48 +00:00
</td>
</tr>
2017-08-28 09:54:36 +00:00
<tr id="i36" class="altColor">
2016-04-06 08:10:17 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setStrokeAlpha(double)">setStrokeAlpha</a></span>&#8203;(double&nbsp;value)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2016-04-06 08:10:17 +00:00
<div class="block">Default value 1.</div>
</td>
</tr>
2017-08-28 09:54:36 +00:00
<tr id="i37" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setStrokeColor(java.lang.String)">setStrokeColor</a></span>&#8203;(java.lang.String&nbsp;value)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Sets the stroke color.</div>
</td>
</tr>
2017-08-28 09:54:36 +00:00
<tr id="i38" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setStrokeWidth(double)">setStrokeWidth</a></span>&#8203;(double&nbsp;value)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Sets the stroke width.</div>
</td>
</tr>
2017-08-28 09:54:36 +00:00
<tr id="i39" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#stroke()">stroke</a></span>()</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Paints the outline of the current path.</div>
</td>
</tr>
2017-08-28 09:54:36 +00:00
<tr id="i40" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#text(double,double,double,double,java.lang.String,java.lang.String,java.lang.String,boolean,java.lang.String,java.lang.String,boolean,double,java.lang.String)">text</a></span>&#8203;(double&nbsp;x,
2014-04-01 11:30:48 +00:00
double&nbsp;y,
double&nbsp;w,
double&nbsp;h,
2017-11-24 16:16:54 +00:00
java.lang.String&nbsp;str,
java.lang.String&nbsp;align,
java.lang.String&nbsp;valign,
2014-04-01 11:30:48 +00:00
boolean&nbsp;wrap,
2017-11-24 16:16:54 +00:00
java.lang.String&nbsp;format,
java.lang.String&nbsp;overflow,
2014-04-01 11:30:48 +00:00
boolean&nbsp;clip,
2015-03-05 09:43:42 +00:00
double&nbsp;rotation,
2018-11-06 11:46:01 +00:00
java.lang.String&nbsp;dir)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Draws the given string.</div>
</td>
</tr>
2017-08-28 09:54:36 +00:00
<tr id="i41" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#translate(double,double)">translate</a></span>&#8203;(double&nbsp;dx,
2018-11-06 11:46:01 +00:00
double&nbsp;dy)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Translates the canvas by the given amount.</div>
</td>
</tr>
</table>
</li>
</ul>
2019-07-02 06:45:58 +00:00
</section>
2014-04-01 11:30:48 +00:00
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
2012-05-21 20:32:26 +00:00
<!-- ============ METHOD DETAIL ========== -->
2019-07-02 06:45:58 +00:00
<section role="region">
2014-04-01 11:30:48 +00:00
<ul class="blockList">
2019-07-02 06:45:58 +00:00
<li class="blockList"><a id="method.detail">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<h3>Method Detail</h3>
2019-07-02 06:45:58 +00:00
<a id="save()">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>save</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;save()</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Saves the current state of the canvas.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="restore()">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>restore</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;restore()</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Restores the previous state of the canvas.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="scale(double)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>scale</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;scale&#8203;(double&nbsp;value)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Uniformaly scales the canvas by the given amount.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - The new scale value.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="translate(double,double)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>translate</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;translate&#8203;(double&nbsp;dx,
2016-06-02 09:57:18 +00:00
double&nbsp;dy)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Translates the canvas by the given amount.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dx</code> - X-coordinate of the translation.</dd>
<dd><code>dy</code> - Y-coordinate of the translation.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="rotate(double,boolean,boolean,double,double)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rotate</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;rotate&#8203;(double&nbsp;theta,
2016-06-02 09:57:18 +00:00
boolean&nbsp;flipH,
boolean&nbsp;flipV,
double&nbsp;cx,
double&nbsp;cy)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Rotates the canvas by the given angle around the given center. This
method may add rendering overhead and should be used with care.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>theta</code> - Rotation angle in degrees (0 - 360).</dd>
<dd><code>flipH</code> - Specifies if drawing should be flipped horizontally.</dd>
<dd><code>flipV</code> - Specifies if drawing should be flipped vertically.</dd>
<dd><code>cx</code> - X-coordinate of the center point.</dd>
<dd><code>cy</code> - Y-coordinate of the center point.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setStrokeWidth(double)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStrokeWidth</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;setStrokeWidth&#8203;(double&nbsp;value)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the stroke width. This should default to 1 if unset.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - Width of the stroke. The value should be multiplied by the
current scale.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setStrokeColor(java.lang.String)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStrokeColor</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;setStrokeColor&#8203;(java.lang.String&nbsp;value)</pre>
<div class="block">Sets the stroke color. This should default to <a href="../util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>
2014-04-01 11:30:48 +00:00
if unset.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code>value</code> - Hex representation of the color or <a href="../util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</dd>
2016-06-02 09:57:18 +00:00
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setDashed(boolean)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDashed</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;setDashed&#8203;(boolean&nbsp;value)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the dashed state. This should default to false if unset.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - Boolean representing the dashed state.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setDashed(boolean,boolean)">
2017-08-28 09:54:36 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDashed</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;setDashed&#8203;(boolean&nbsp;value,
2017-08-28 09:54:36 +00:00
boolean&nbsp;fixDash)</pre>
<div class="block">Sets the dashed state. This should default to false if unset.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - Boolean representing the dashed state.</dd>
</dl>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setDashPattern(java.lang.String)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDashPattern</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;setDashPattern&#8203;(java.lang.String&nbsp;value)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the dash pattern. This should default to "3 3" if unset.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - Space separated list of floats representing the dash
pattern. The value should be multiplied by the current scale.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setLineCap(java.lang.String)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLineCap</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;setLineCap&#8203;(java.lang.String&nbsp;value)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the linecap. This should default to "flat" if unset.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - "flat", "square" or "round".</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setLineJoin(java.lang.String)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLineJoin</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;setLineJoin&#8203;(java.lang.String&nbsp;value)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the linejoin. This should default to "miter" if unset.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - "miter", "round" or "bevel".</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setMiterLimit(double)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMiterLimit</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;setMiterLimit&#8203;(double&nbsp;value)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the miterlimit. This should default to 10 if unset.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - </dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setFontSize(double)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFontSize</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;setFontSize&#8203;(double&nbsp;value)</pre>
<div class="block">Default value <a href="../util/mxConstants.html#DEFAULT_FONTSIZE"><code>mxConstants.DEFAULT_FONTSIZE</code></a>.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - </dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setFontColor(java.lang.String)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFontColor</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;setFontColor&#8203;(java.lang.String&nbsp;value)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Default value "#000000".</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code>value</code> - Hex representation of the color or <a href="../util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</dd>
2016-06-02 09:57:18 +00:00
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setFontFamily(java.lang.String)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFontFamily</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;setFontFamily&#8203;(java.lang.String&nbsp;value)</pre>
<div class="block">Default value <a href="../util/mxConstants.html#DEFAULT_FONTFAMILY"><code>mxConstants.DEFAULT_FONTFAMILY</code></a>.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - </dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setFontStyle(int)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFontStyle</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;setFontStyle&#8203;(int&nbsp;value)</pre>
<div class="block">Default value 0. See <a href="../util/mxConstants.html#STYLE_FONTSTYLE"><code>mxConstants.STYLE_FONTSTYLE</code></a>.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - </dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setFontBackgroundColor(java.lang.String)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFontBackgroundColor</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;setFontBackgroundColor&#8203;(java.lang.String&nbsp;value)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Default value "#000000".</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code>value</code> - Hex representation of the color or <a href="../util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</dd>
2016-06-02 09:57:18 +00:00
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setFontBorderColor(java.lang.String)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFontBorderColor</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;setFontBorderColor&#8203;(java.lang.String&nbsp;value)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Default value "#000000".</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code>value</code> - Hex representation of the color or <a href="../util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</dd>
2016-06-02 09:57:18 +00:00
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setAlpha(double)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAlpha</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;setAlpha&#8203;(double&nbsp;value)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Default value 1. This method may add rendering overhead and should be
used with care.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - </dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setFillAlpha(double)">
2016-04-06 08:10:17 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFillAlpha</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;setFillAlpha&#8203;(double&nbsp;value)</pre>
2016-04-06 08:10:17 +00:00
<div class="block">Default value 1. This method may add rendering overhead and should be
used with care.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - </dd>
</dl>
2016-04-06 08:10:17 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setStrokeAlpha(double)">
2016-04-06 08:10:17 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStrokeAlpha</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;setStrokeAlpha&#8203;(double&nbsp;value)</pre>
2016-04-06 08:10:17 +00:00
<div class="block">Default value 1. This method may add rendering overhead and should be
used with care.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - </dd>
</dl>
2016-04-06 08:10:17 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setFillColor(java.lang.String)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFillColor</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;setFillColor&#8203;(java.lang.String&nbsp;value)</pre>
<div class="block">Default value <a href="../util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code>value</code> - Hex representation of the color or <a href="../util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</dd>
2016-06-02 09:57:18 +00:00
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setGradient(java.lang.String,java.lang.String,double,double,double,double,java.lang.String,double,double)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setGradient</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;setGradient&#8203;(java.lang.String&nbsp;color1,
2017-11-24 16:16:54 +00:00
java.lang.String&nbsp;color2,
2016-06-02 09:57:18 +00:00
double&nbsp;x,
double&nbsp;y,
double&nbsp;w,
double&nbsp;h,
2017-11-24 16:16:54 +00:00
java.lang.String&nbsp;direction,
2016-06-02 09:57:18 +00:00
double&nbsp;alpha1,
double&nbsp;alpha2)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Prepares the canvas to draw a gradient.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>color1</code> - </dd>
<dd><code>color2</code> - </dd>
<dd><code>x</code> - </dd>
<dd><code>y</code> - </dd>
<dd><code>w</code> - </dd>
<dd><code>h</code> - </dd>
<dd><code>direction</code> - Direction may be null. Use default value
2019-07-02 06:45:58 +00:00
<a href="../util/mxConstants.html#DIRECTION_SOUTH"><code>mxConstants.DIRECTION_SOUTH</code></a>.</dd>
2016-06-02 09:57:18 +00:00
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setShadow(boolean)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setShadow</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;setShadow&#8203;(boolean&nbsp;enabled)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Enables or disables the painting of shadows.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>enabled</code> - Whether the shadow should be enabled.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setShadowColor(java.lang.String)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setShadowColor</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;setShadowColor&#8203;(java.lang.String&nbsp;value)</pre>
<div class="block">Default value <a href="../util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code>value</code> - Hex representation of the color or <a href="../util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</dd>
2016-06-02 09:57:18 +00:00
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setShadowAlpha(double)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setShadowAlpha</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;setShadowAlpha&#8203;(double&nbsp;value)</pre>
<div class="block">Default value <a href="../util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code>value</code> - Hex representation of the color or <a href="../util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</dd>
2016-06-02 09:57:18 +00:00
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setShadowOffset(double,double)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setShadowOffset</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;setShadowOffset&#8203;(double&nbsp;dx,
2016-06-02 09:57:18 +00:00
double&nbsp;dy)</pre>
2019-07-02 06:45:58 +00:00
<div class="block">Default value <a href="../util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code>value</code> - Hex representation of the color or <a href="../util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</dd>
2016-06-02 09:57:18 +00:00
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="rect(double,double,double,double)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rect</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;rect&#8203;(double&nbsp;x,
2016-06-02 09:57:18 +00:00
double&nbsp;y,
double&nbsp;w,
double&nbsp;h)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Next fill or stroke should draw a rectangle.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>x</code> - </dd>
<dd><code>y</code> - </dd>
<dd><code>w</code> - </dd>
<dd><code>h</code> - </dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="roundrect(double,double,double,double,double,double)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>roundrect</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;roundrect&#8203;(double&nbsp;x,
2016-06-02 09:57:18 +00:00
double&nbsp;y,
double&nbsp;w,
double&nbsp;h,
double&nbsp;dx,
double&nbsp;dy)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Next fill or stroke should draw a round rectangle.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>x</code> - </dd>
<dd><code>y</code> - </dd>
<dd><code>w</code> - </dd>
<dd><code>h</code> - </dd>
<dd><code>dx</code> - </dd>
<dd><code>dy</code> - </dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="ellipse(double,double,double,double)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ellipse</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;ellipse&#8203;(double&nbsp;x,
2016-06-02 09:57:18 +00:00
double&nbsp;y,
double&nbsp;w,
double&nbsp;h)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Next fill or stroke should draw an ellipse.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>x</code> - </dd>
<dd><code>y</code> - </dd>
<dd><code>w</code> - </dd>
<dd><code>h</code> - </dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="image(double,double,double,double,java.lang.String,boolean,boolean,boolean)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>image</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;image&#8203;(double&nbsp;x,
2016-06-02 09:57:18 +00:00
double&nbsp;y,
double&nbsp;w,
double&nbsp;h,
2017-11-24 16:16:54 +00:00
java.lang.String&nbsp;src,
2016-06-02 09:57:18 +00:00
boolean&nbsp;aspect,
boolean&nbsp;flipH,
boolean&nbsp;flipV)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Draws the given image.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>x</code> - </dd>
<dd><code>y</code> - </dd>
<dd><code>w</code> - </dd>
<dd><code>h</code> - </dd>
<dd><code>src</code> - </dd>
<dd><code>aspect</code> - </dd>
<dd><code>flipH</code> - </dd>
<dd><code>flipV</code> - </dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="text(double,double,double,double,java.lang.String,java.lang.String,java.lang.String,boolean,java.lang.String,java.lang.String,boolean,double,java.lang.String)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>text</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;text&#8203;(double&nbsp;x,
2016-06-02 09:57:18 +00:00
double&nbsp;y,
double&nbsp;w,
double&nbsp;h,
2017-11-24 16:16:54 +00:00
java.lang.String&nbsp;str,
java.lang.String&nbsp;align,
java.lang.String&nbsp;valign,
2016-06-02 09:57:18 +00:00
boolean&nbsp;wrap,
2017-11-24 16:16:54 +00:00
java.lang.String&nbsp;format,
java.lang.String&nbsp;overflow,
2016-06-02 09:57:18 +00:00
boolean&nbsp;clip,
double&nbsp;rotation,
2017-11-24 16:16:54 +00:00
java.lang.String&nbsp;dir)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Draws the given string. Possible values for format are empty string for
plain text and html for HTML markup.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>x</code> - </dd>
<dd><code>y</code> - </dd>
<dd><code>w</code> - </dd>
<dd><code>h</code> - </dd>
<dd><code>str</code> - </dd>
<dd><code>align</code> - </dd>
<dd><code>valign</code> - </dd>
<dd><code>wrap</code> - </dd>
<dd><code>format</code> - </dd>
<dd><code>overflow</code> - </dd>
<dd><code>clip</code> - </dd>
<dd><code>rotation</code> - </dd>
<dd><code>dir</code> - </dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="begin()">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>begin</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;begin()</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Begins a new path.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="moveTo(double,double)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>moveTo</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;moveTo&#8203;(double&nbsp;x,
2016-06-02 09:57:18 +00:00
double&nbsp;y)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Moves to the given path.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>x</code> - </dd>
<dd><code>y</code> - </dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="lineTo(double,double)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lineTo</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;lineTo&#8203;(double&nbsp;x,
2016-06-02 09:57:18 +00:00
double&nbsp;y)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Draws a line to the given path.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>x</code> - </dd>
<dd><code>y</code> - </dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="quadTo(double,double,double,double)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>quadTo</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;quadTo&#8203;(double&nbsp;x1,
2016-06-02 09:57:18 +00:00
double&nbsp;y1,
double&nbsp;x2,
double&nbsp;y2)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Draws a quadratic curve to the given point.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>x1</code> - </dd>
<dd><code>y1</code> - </dd>
<dd><code>x2</code> - </dd>
<dd><code>y2</code> - </dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="curveTo(double,double,double,double,double,double)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>curveTo</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;curveTo&#8203;(double&nbsp;x1,
2016-06-02 09:57:18 +00:00
double&nbsp;y1,
double&nbsp;x2,
double&nbsp;y2,
double&nbsp;x3,
double&nbsp;y3)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Draws a bezier curve to the given point.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>x1</code> - </dd>
<dd><code>y1</code> - </dd>
<dd><code>x2</code> - </dd>
<dd><code>y2</code> - </dd>
<dd><code>x3</code> - </dd>
<dd><code>y3</code> - </dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="close()">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>close</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;close()</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Closes the current path.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="stroke()">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stroke</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;stroke()</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Paints the outline of the current path.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="fill()">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fill</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;fill()</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Fills the current path.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="fillAndStroke()">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>fillAndStroke</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">void&nbsp;fillAndStroke()</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Fills and paints the outline of the current path.</div>
</li>
</ul>
</li>
</ul>
2019-07-02 06:45:58 +00:00
</section>
2014-04-01 11:30:48 +00:00
</li>
</ul>
</div>
</div>
2019-07-02 06:45:58 +00:00
</main>
2012-05-21 20:32:26 +00:00
<!-- ========= END OF CLASS DATA ========= -->
2019-07-02 06:45:58 +00:00
<footer role="contentinfo">
<nav role="navigation">
2012-05-21 20:32:26 +00:00
<!-- ======= START OF BOTTOM NAVBAR ====== -->
2019-07-02 06:45:58 +00:00
<div class="bottomNav"><a id="navbar.bottom">
2014-04-01 11:30:48 +00:00
<!-- -->
2016-06-02 09:57:18 +00:00
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
2019-07-02 06:45:58 +00:00
<a id="navbar.bottom.firstrow">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="navList" title="Navigation">
2019-07-02 06:45:58 +00:00
<li><a href="../../../index.html">Overview</a></li>
2014-04-01 11:30:48 +00:00
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/mxICanvas2D.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>
2020-01-24 13:32:03 +00:00
<div class="aboutLanguage"><p><b>mxGraph 4.1.0</b></p></div>
2014-04-01 11:30:48 +00:00
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
2019-07-02 06:45:58 +00:00
<li><a href="../../../allclasses.html">All&nbsp;Classes</a></li>
2014-04-01 11:30:48 +00:00
</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>
2018-11-06 11:46:01 +00:00
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
2014-04-01 11:30:48 +00:00
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
2016-06-02 09:57:18 +00:00
<li><a href="#method.summary">Method</a></li>
2014-04-01 11:30:48 +00:00
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
2016-06-02 09:57:18 +00:00
<li><a href="#method.detail">Method</a></li>
2014-04-01 11:30:48 +00:00
</ul>
</div>
2019-07-02 06:45:58 +00:00
<a id="skip.navbar.bottom">
2014-04-01 11:30:48 +00:00
<!-- -->
</a></div>
2012-05-21 20:32:26 +00:00
<!-- ======== END OF BOTTOM NAVBAR ======= -->
2019-07-02 06:45:58 +00:00
</nav>
2017-06-27 11:43:19 +00:00
<p class="legalCopy"><small><font size=1>Copyright (c) 2010-2017 <a href="http://www.jgraph.com/"
target="_blank">Gaudenz Alder, JGraph Ltd</a>. All rights reserved.</font></small></p>
2019-07-02 06:45:58 +00:00
</footer>
2014-04-01 11:30:48 +00:00
</body>
</html>