<li><ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html"title="class in com.mxgraph.canvas"><spanclass="strong">Next Class</span></a></li>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html"title="class in com.mxgraph.canvas">mxGraphicsCanvas2D.CanvasState</a></strong></code> </td>
</tr>
</table>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ulclass="blockList">
<liclass="blockList"><aname="field_summary">
<!---->
</a>
<h3>Field Summary</h3>
<tableclass="overviewSummary"border="0"cellpadding="3"cellspacing="0"summary="Field Summary table, listing fields, and an explanation">
<tdclass="colFirst"><code>protected java.util.Stack<<ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html"title="class in com.mxgraph.canvas">mxGraphicsCanvas2D.CanvasState</a>></code></td>
<tdclass="colFirst"><code>protected <ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html"title="class in com.mxgraph.canvas">mxGraphicsCanvas2D.CanvasState</a></code></td>
<tdclass="colFirst"><code>protected <ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html"title="class in com.mxgraph.canvas">mxGraphicsCanvas2D.CanvasState</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#cloneState(com.mxgraph.canvas.mxGraphicsCanvas2D.CanvasState)">cloneState</a></strong>(<ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html"title="class in com.mxgraph.canvas">mxGraphicsCanvas2D.CanvasState</a> state)</code>
<divclass="block">Returns a clone of thec given state.</div>
<divclass="block">Helper method that uses <ahref="../../../com/mxgraph/util/mxUtils.html#parseColor(java.lang.String)"><code>mxUtils.parseColor(String)</code></a>.</div>
<divclass="block">Uses <ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#IMAGE_SCALING"><code>IMAGE_SCALING</code></a> to scale the given image.</div>
<divclass="block">Default value <ahref="../../../com/mxgraph/util/mxConstants.html#DEFAULT_FONTFAMILY"><code>mxConstants.DEFAULT_FONTFAMILY</code></a>.</div>
<divclass="block">Default value <ahref="../../../com/mxgraph/util/mxConstants.html#DEFAULT_FONTSIZE"><code>mxConstants.DEFAULT_FONTSIZE</code></a>.</div>
<divclass="block">Reference to the graphics instance for painting.</div>
</li>
</ul>
<aname="textEnabled">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>textEnabled</h4>
<pre>protected boolean textEnabled</pre>
<divclass="block">Specifies if text output should be rendered. Default is true.</div>
</li>
</ul>
<aname="state">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>state</h4>
<pre>protected transient <ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html"title="class in com.mxgraph.canvas">mxGraphicsCanvas2D.CanvasState</a> state</pre>
<divclass="block">Represents the current state of the canvas.</div>
<pre>protected transient java.util.Stack<<ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html"title="class in com.mxgraph.canvas">mxGraphicsCanvas2D.CanvasState</a>> stack</pre>
<divclass="block">Disables or enables text rendering.</div>
</li>
</ul>
<aname="save()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>save</h4>
<pre>public void save()</pre>
<divclass="block">Saves the current canvas state.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#save()">save</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
</dl>
</li>
</ul>
<aname="restore()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>restore</h4>
<pre>public void restore()</pre>
<divclass="block">Restores the last canvas state.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#restore()">restore</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<pre>protected <ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html"title="class in com.mxgraph.canvas">mxGraphicsCanvas2D.CanvasState</a> cloneState(<ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html"title="class in com.mxgraph.canvas">mxGraphicsCanvas2D.CanvasState</a> state)</pre>
<divclass="block">Returns a clone of thec given state.</div>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#scale(double)">mxICanvas2D</a></code></strong></div>
<divclass="block">Uniformaly scales the canvas by the given amount.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#scale(double)">scale</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - The new scale value.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#translate(double, double)">mxICanvas2D</a></code></strong></div>
<divclass="block">Translates the canvas by the given amount.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#translate(double, double)">translate</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>dx</code> - X-coordinate of the translation.</dd><dd><code>dy</code> - Y-coordinate of the translation.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#rotate(double, boolean, boolean, double, double)">mxICanvas2D</a></code></strong></div>
<divclass="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>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#rotate(double, boolean, boolean, double, double)">rotate</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">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>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setStrokeWidth(double)">mxICanvas2D</a></code></strong></div>
<divclass="block">Sets the stroke width. This should default to 1 if unset.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setStrokeWidth(double)">setStrokeWidth</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - Width of the stroke. The value should be multiplied by the
<divclass="block">Caches color conversion as it is expensive.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setStrokeColor(java.lang.String)">setStrokeColor</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - Hex representation of the color or <ahref="../../../com/mxgraph/util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setDashed(boolean)">mxICanvas2D</a></code></strong></div>
<divclass="block">Sets the dashed state. This should default to false if unset.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setDashed(boolean)">setDashed</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - Boolean representing the dashed state.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setDashPattern(java.lang.String)">mxICanvas2D</a></code></strong></div>
<divclass="block">Sets the dash pattern. This should default to "3 3" if unset.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setDashPattern(java.lang.String)">setDashPattern</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">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>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setLineCap(java.lang.String)">mxICanvas2D</a></code></strong></div>
<divclass="block">Sets the linecap. This should default to "flat" if unset.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setLineCap(java.lang.String)">setLineCap</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - "flat", "square" or "round".</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setLineJoin(java.lang.String)">mxICanvas2D</a></code></strong></div>
<divclass="block">Sets the linejoin. This should default to "miter" if unset.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setLineJoin(java.lang.String)">setLineJoin</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - "miter", "round" or "bevel".</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setMiterLimit(double)">mxICanvas2D</a></code></strong></div>
<divclass="block">Sets the miterlimit. This should default to 10 if unset.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setMiterLimit(double)">setMiterLimit</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setFontSize(double)">mxICanvas2D</a></code></strong></div>
<divclass="block">Default value <ahref="../../../com/mxgraph/util/mxConstants.html#DEFAULT_FONTSIZE"><code>mxConstants.DEFAULT_FONTSIZE</code></a>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setFontSize(double)">setFontSize</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setFontColor(java.lang.String)">mxICanvas2D</a></code></strong></div>
<divclass="block">Default value "#000000".</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setFontColor(java.lang.String)">setFontColor</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - Hex representation of the color or <ahref="../../../com/mxgraph/util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setFontBackgroundColor(java.lang.String)">mxICanvas2D</a></code></strong></div>
<divclass="block">Default value "#000000".</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setFontBackgroundColor(java.lang.String)">setFontBackgroundColor</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - Hex representation of the color or <ahref="../../../com/mxgraph/util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setFontBorderColor(java.lang.String)">mxICanvas2D</a></code></strong></div>
<divclass="block">Default value "#000000".</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setFontBorderColor(java.lang.String)">setFontBorderColor</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - Hex representation of the color or <ahref="../../../com/mxgraph/util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setFontFamily(java.lang.String)">mxICanvas2D</a></code></strong></div>
<divclass="block">Default value <ahref="../../../com/mxgraph/util/mxConstants.html#DEFAULT_FONTFAMILY"><code>mxConstants.DEFAULT_FONTFAMILY</code></a>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setFontFamily(java.lang.String)">setFontFamily</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setFontStyle(int)">mxICanvas2D</a></code></strong></div>
<divclass="block">Default value 0. See <ahref="../../../com/mxgraph/util/mxConstants.html#STYLE_FONTSTYLE"><code>mxConstants.STYLE_FONTSTYLE</code></a>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setFontStyle(int)">setFontStyle</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setAlpha(double)">mxICanvas2D</a></code></strong></div>
<divclass="block">Default value 1. This method may add rendering overhead and should be
used with care.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setAlpha(double)">setAlpha</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setFillColor(java.lang.String)">mxICanvas2D</a></code></strong></div>
<divclass="block">Default value <ahref="../../../com/mxgraph/util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setFillColor(java.lang.String)">setFillColor</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - Hex representation of the color or <ahref="../../../com/mxgraph/util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</dd></dl>
<divclass="block">Helper method that uses <ahref="../../../com/mxgraph/util/mxUtils.html#parseColor(java.lang.String)"><code>mxUtils.parseColor(String)</code></a>.</div>
</li>
</ul>
<aname="rect(double, double, double, double)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>rect</h4>
<pre>public void rect(double x,
double y,
double w,
double h)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#rect(double, double, double, double)">mxICanvas2D</a></code></strong></div>
<divclass="block">Next fill or stroke should draw a rectangle.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#rect(double, double, double, double)">rect</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<divclass="block">Uses <ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#IMAGE_SCALING"><code>IMAGE_SCALING</code></a> to scale the given image.</div>
<divclass="block">Returns a new graphics instance with the correct color and font for
text rendering.</div>
</li>
</ul>
<aname="begin()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>begin</h4>
<pre>public void begin()</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#begin()">mxICanvas2D</a></code></strong></div>
<divclass="block">Begins a new path.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#begin()">begin</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
</dl>
</li>
</ul>
<aname="moveTo(double, double)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>moveTo</h4>
<pre>public void moveTo(double x,
double y)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#moveTo(double, double)">mxICanvas2D</a></code></strong></div>
<divclass="block">Moves to the given path.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#moveTo(double, double)">moveTo</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
</dl>
</li>
</ul>
<aname="lineTo(double, double)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>lineTo</h4>
<pre>public void lineTo(double x,
double y)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#lineTo(double, double)">mxICanvas2D</a></code></strong></div>
<divclass="block">Draws a line to the given path.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#lineTo(double, double)">lineTo</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
</dl>
</li>
</ul>
<aname="quadTo(double, double, double, double)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>quadTo</h4>
<pre>public void quadTo(double x1,
double y1,
double x2,
double y2)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#quadTo(double, double, double, double)">mxICanvas2D</a></code></strong></div>
<divclass="block">Draws a quadratic curve to the given point.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#quadTo(double, double, double, double)">quadTo</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#curveTo(double, double, double, double, double, double)">mxICanvas2D</a></code></strong></div>
<divclass="block">Draws a bezier curve to the given point.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#curveTo(double, double, double, double, double, double)">curveTo</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
</dl>
</li>
</ul>
<aname="close()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>close</h4>
<pre>public void close()</pre>
<divclass="block">Closes the current path.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#close()">close</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
</dl>
</li>
</ul>
<aname="stroke()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>stroke</h4>
<pre>public void stroke()</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#stroke()">mxICanvas2D</a></code></strong></div>
<divclass="block">Paints the outline of the current path.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#stroke()">stroke</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
</dl>
</li>
</ul>
<aname="fill()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>fill</h4>
<pre>public void fill()</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#fill()">mxICanvas2D</a></code></strong></div>
<divclass="block">Fills the current path.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#fill()">fill</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
</dl>
</li>
</ul>
<aname="fillAndStroke()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>fillAndStroke</h4>
<pre>public void fillAndStroke()</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#fillAndStroke()">mxICanvas2D</a></code></strong></div>
<divclass="block">Fills and paints the outline of the current path.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#fillAndStroke()">fillAndStroke</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setShadow(boolean)">mxICanvas2D</a></code></strong></div>
<divclass="block">Enables or disables the painting of shadows.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setShadow(boolean)">setShadow</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - Whether the shadow should be enabled.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setShadowColor(java.lang.String)">mxICanvas2D</a></code></strong></div>
<divclass="block">Default value <ahref="../../../com/mxgraph/util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setShadowColor(java.lang.String)">setShadowColor</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - Hex representation of the color or <ahref="../../../com/mxgraph/util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setShadowAlpha(double)">mxICanvas2D</a></code></strong></div>
<divclass="block">Default value <ahref="../../../com/mxgraph/util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setShadowAlpha(double)">setShadowAlpha</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - Hex representation of the color or <ahref="../../../com/mxgraph/util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setShadowOffset(double, double)">mxICanvas2D</a></code></strong></div>
<divclass="block">Default value <ahref="../../../com/mxgraph/util/mxConstants.html#NONE"><code>mxConstants.NONE</code></a>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html#setShadowOffset(double, double)">setShadowOffset</a></code> in interface <code><ahref="../../../com/mxgraph/canvas/mxICanvas2D.html"title="interface in com.mxgraph.canvas">mxICanvas2D</a></code></dd>
<li><ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html"title="class in com.mxgraph.canvas"><spanclass="strong">Next Class</span></a></li>