maxGraph/dotnet/docs/html/interfacecom_1_1mxgraph_1_1...

1224 lines
57 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>mxGraph: com::mxgraph::mxICanvas2D Interface Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
<div class="navpath"><b>com</b>::<b>mxgraph</b>::<a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html">mxICanvas2D</a>
</div>
</div>
<div class="contents">
<h1>com::mxgraph::mxICanvas2D Interface Reference</h1><!-- doxytag: class="com::mxgraph::mxICanvas2D" -->
<p>Defines the requirements for a canvas that paints the vertices and edges of a graph.
<a href="#_details">More...</a></p>
<div class="dynheader">
Inheritance diagram for com::mxgraph::mxICanvas2D:</div>
<div class="dynsection">
<div class="center">
<img src="interfacecom_1_1mxgraph_1_1mxICanvas2D.png" usemap="#com::mxgraph::mxICanvas2D_map" alt=""/>
<map id="com::mxgraph::mxICanvas2D_map" name="com::mxgraph::mxICanvas2D_map">
<area href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html" alt="com::mxgraph::mxGdiCanvas2D" shape="rect" coords="0,56,188,80"/>
</map>
</div>
</div>
<p><a href="interfacecom_1_1mxgraph_1_1mxICanvas2D-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#acb028c15edb7471d8df2c9b4b288a2dc">Save</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Saves the current state of the canvas. <a href="#acb028c15edb7471d8df2c9b4b288a2dc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a4d2d8898cae7d385e87e471f968f835f">Restore</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Restores the previous state of the canvas. <a href="#a4d2d8898cae7d385e87e471f968f835f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#af281d95936e45eb668c516b56bd0bde8">Scale</a> (double value)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Uniformaly scales the canvas by the given amount. <a href="#af281d95936e45eb668c516b56bd0bde8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a82fad15cca1deb74e81ac504924f91d0">Translate</a> (double dx, double dy)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Translates the canvas by the given amount. <a href="#a82fad15cca1deb74e81ac504924f91d0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#ae99cad30f6516ca9faeafd4af4cb1ec5">Rotate</a> (double theta, bool flipH, bool flipV, double cx, double cy)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Rotates the canvas by the given angle around the given center. This method may add rendering overhead and should be used with care. <a href="#ae99cad30f6516ca9faeafd4af4cb1ec5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#af04887740790c4849e649f91b142d5b2">SetGradient</a> (string color1, string color2, double x, double y, double w, double h, string direction)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Prepares the canvas to draw a gradient. <a href="#af04887740790c4849e649f91b142d5b2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a454419025bbd42ae392a5cd4d7d49163">SetGlassGradient</a> (double x, double y, double w, double h)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Prepares the canvas to draw a glass gradient. <a href="#a454419025bbd42ae392a5cd4d7d49163"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#aba609b7d44a5ae5b4a391b5799a2f3ca">Rect</a> (double x, double y, double w, double h)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Next fill or stroke should draw a rectangle. <a href="#aba609b7d44a5ae5b4a391b5799a2f3ca"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#ac93807c8770627c3aec3c92d46383c45">Roundrect</a> (double x, double y, double w, double h, double dx, double dy)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Next fill or stroke should draw a round rectangle. <a href="#ac93807c8770627c3aec3c92d46383c45"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a83b9df27f2fe4806e71e5664b39ac556">Ellipse</a> (double x, double y, double w, double h)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Next fill or stroke should draw an ellipse. <a href="#a83b9df27f2fe4806e71e5664b39ac556"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a4c05a8cdbd96edbe00bcecc52b8d6e93">Image</a> (double x, double y, double w, double h, string src, bool aspect, bool flipH, bool flipV)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws the given image. <a href="#a4c05a8cdbd96edbe00bcecc52b8d6e93"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#afcf4c07955c595bfd332186cd6fa8be3">Text</a> (double x, double y, double w, double h, string str, string align, string valign, bool vertical, bool wrap, string format)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws the given string. Possible values for format are empty string for. <a href="#afcf4c07955c595bfd332186cd6fa8be3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#af2b8668d5b175b816c51951a61bfa02a">Begin</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Begins a new path. <a href="#af2b8668d5b175b816c51951a61bfa02a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#ad6739b41b41e978ab6966d981d31ccc2">MoveTo</a> (double x, double y)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Moves to the given path. <a href="#ad6739b41b41e978ab6966d981d31ccc2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a7a86b49a5799e06a6545b2ef470051d0">LineTo</a> (double x, double y)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws a line to the given path. <a href="#a7a86b49a5799e06a6545b2ef470051d0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a54d04210f84a725f6cf59336745c886a">QuadTo</a> (double x1, double y1, double x2, double y2)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws a quadratic curve to the given point. <a href="#a54d04210f84a725f6cf59336745c886a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#ad913dc5a8030d5f802d6c62662a53969">CurveTo</a> (double x1, double y1, double x2, double y2, double x3, double y3)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws a bezier curve to the given point. <a href="#ad913dc5a8030d5f802d6c62662a53969"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#ac4ec8848dd2d583be1589103f2e00560">Close</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Closes the current path. <a href="#ac4ec8848dd2d583be1589103f2e00560"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a801550a1789580c509257bc6ad8e8385">Stroke</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Paints the outline of the current path. <a href="#a801550a1789580c509257bc6ad8e8385"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a97896c948354d29ad6036ec6882c7367">Fill</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Fills the current path. <a href="#a97896c948354d29ad6036ec6882c7367"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#adeb889eb1d1c5c1a0e00a0ce3dee9178">FillAndStroke</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Fills and paints the outline of the current path. <a href="#adeb889eb1d1c5c1a0e00a0ce3dee9178"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a807a0eae6f0574aa2b4f236a0b76d2cc">Shadow</a> (string value, bool filled)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Paints the current path as a shadow. <a href="#a807a0eae6f0574aa2b4f236a0b76d2cc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a7422851f67a552d9ec84bf5ed06214d6">Clip</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Uses the current path for clipping. <a href="#a7422851f67a552d9ec84bf5ed06214d6"></a><br/></td></tr>
<tr><td colspan="2"><h2>Properties</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a56b6cf5694eb108521750e4187415660">StrokeWidth</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the stroke width. This should default to 1 if unset. <a href="#a56b6cf5694eb108521750e4187415660"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#ae67622bf2792d623c672d4a8b57f86e2">StrokeColor</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the stroke color. This should default to <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a1adacf0fd058343aa49474e68b2e9bc0" title="Defines the value for none. Default is &quot;none&quot;.">mxConstants.NONE</a> if unset. <a href="#ae67622bf2792d623c672d4a8b57f86e2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#aae8633458a4a93fb3bd354b130f0d4d7">Dashed</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the dashed state. This should default to false if unset. <a href="#aae8633458a4a93fb3bd354b130f0d4d7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#aadab1f5cdf6ddc97b6dc8da9224c9f3d">DashPattern</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the dash pattern. This should default to "3 3" if unset. <a href="#aadab1f5cdf6ddc97b6dc8da9224c9f3d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a829ab2cbd41e4777ea46657a6da7ffd9">LineCap</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the linecap. This should default to "flat" if unset. <a href="#a829ab2cbd41e4777ea46657a6da7ffd9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#add41832e54a6a952a9e9e7a344593acd">LineJoin</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the linejoin. This should default to "miter" if unset. <a href="#add41832e54a6a952a9e9e7a344593acd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a991c36d1f078c3af31928fc485ef95e5">MiterLimit</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the miterlimit. This should default to 10 if unset. <a href="#a991c36d1f078c3af31928fc485ef95e5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a69f663bd9c909c261b33d151574f7d55">FontSize</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default value <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a3e51abdecb7408a419abc5dc1add483d" title="Default size for fonts. Value is 11.">mxConstants.DEFAULT_FONTSIZE</a>. <a href="#a69f663bd9c909c261b33d151574f7d55"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a3aa4add33b9fcef3c6e81c20f76781ea">FontColor</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default value "#000000". <a href="#a3aa4add33b9fcef3c6e81c20f76781ea"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#aae983110302f114c65645fadd6be63a9">FontFamily</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default value <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#aa8f6be2c9e0c22d5a3fc3e7ffb78e091">mxConstants#DEFAULT_FONTFAMILY</a>. <a href="#aae983110302f114c65645fadd6be63a9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a709d43365adf4cb4c00726e83840a13d">FontStyle</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default value 0. See <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#ad7f0c932b0e6155f8941e3de4550cb7a">mxConstants#STYLE_FONTSTYLE</a>. <a href="#a709d43365adf4cb4c00726e83840a13d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a6e78d631c45ea341b6e82ae2d2ae747f">Alpha</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default value 1. This method may add rendering overhead and should be used with care. <a href="#a6e78d631c45ea341b6e82ae2d2ae747f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a4f488eea5fb315298333229d26b246cd">FillColor</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default value <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a1adacf0fd058343aa49474e68b2e9bc0">mxConstants#NONE</a>. <a href="#a4f488eea5fb315298333229d26b246cd"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Defines the requirements for a canvas that paints the vertices and edges of a graph. </p>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="af2b8668d5b175b816c51951a61bfa02a"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Begin" ref="af2b8668d5b175b816c51951a61bfa02a" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxICanvas2D::Begin </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Begins a new path. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a912799fcd5815fe7ef01cffa09db2df4">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a7422851f67a552d9ec84bf5ed06214d6"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Clip" ref="a7422851f67a552d9ec84bf5ed06214d6" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxICanvas2D::Clip </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Uses the current path for clipping. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#ac7b2da6955b71fa92e0acdb540d27644">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="ac4ec8848dd2d583be1589103f2e00560"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Close" ref="ac4ec8848dd2d583be1589103f2e00560" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxICanvas2D::Close </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Closes the current path. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a74b61843c65431397481572da60234c9">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="ad913dc5a8030d5f802d6c62662a53969"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::CurveTo" ref="ad913dc5a8030d5f802d6c62662a53969" args="(double x1, double y1, double x2, double y2, double x3, double y3)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxICanvas2D::CurveTo </td>
<td>(</td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>x1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>y1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>x2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>y2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>x3</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>y3</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws a bezier curve to the given point. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#aaa2904f7cac79881913fe04c1a209181">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a83b9df27f2fe4806e71e5664b39ac556"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Ellipse" ref="a83b9df27f2fe4806e71e5664b39ac556" args="(double x, double y, double w, double h)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxICanvas2D::Ellipse </td>
<td>(</td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>h</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Next fill or stroke should draw an ellipse. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a23449cbcc3027e256de3ce5f2bbcd816">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a97896c948354d29ad6036ec6882c7367"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Fill" ref="a97896c948354d29ad6036ec6882c7367" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxICanvas2D::Fill </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Fills the current path. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#ae53d52437c829ca4f99b9302a5fc4864">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="adeb889eb1d1c5c1a0e00a0ce3dee9178"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::FillAndStroke" ref="adeb889eb1d1c5c1a0e00a0ce3dee9178" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxICanvas2D::FillAndStroke </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Fills and paints the outline of the current path. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a5dd3031fb89d6f1d18e7433249a3fdd3">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a4c05a8cdbd96edbe00bcecc52b8d6e93"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Image" ref="a4c05a8cdbd96edbe00bcecc52b8d6e93" args="(double x, double y, double w, double h, string src, bool aspect, bool flipH, bool flipV)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxICanvas2D::Image </td>
<td>(</td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>h</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&nbsp;</td>
<td class="paramname"> <em>src</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>aspect</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>flipH</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>flipV</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws the given image. </p>
</div>
</div>
<a class="anchor" id="a7a86b49a5799e06a6545b2ef470051d0"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::LineTo" ref="a7a86b49a5799e06a6545b2ef470051d0" args="(double x, double y)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxICanvas2D::LineTo </td>
<td>(</td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>y</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws a line to the given path. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a2be519434efaeb4663cd9ae7cc31d49d">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="ad6739b41b41e978ab6966d981d31ccc2"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::MoveTo" ref="ad6739b41b41e978ab6966d981d31ccc2" args="(double x, double y)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxICanvas2D::MoveTo </td>
<td>(</td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>y</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Moves to the given path. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a1311082c50b96983ef88056f0f924be4">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a54d04210f84a725f6cf59336745c886a"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::QuadTo" ref="a54d04210f84a725f6cf59336745c886a" args="(double x1, double y1, double x2, double y2)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxICanvas2D::QuadTo </td>
<td>(</td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>x1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>y1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>x2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>y2</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws a quadratic curve to the given point. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#adbef5129943b03e4e349f36139926f6e">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="aba609b7d44a5ae5b4a391b5799a2f3ca"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Rect" ref="aba609b7d44a5ae5b4a391b5799a2f3ca" args="(double x, double y, double w, double h)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxICanvas2D::Rect </td>
<td>(</td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>h</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Next fill or stroke should draw a rectangle. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#abf1749074624b5f849b8b12c85d81233">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a4d2d8898cae7d385e87e471f968f835f"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Restore" ref="a4d2d8898cae7d385e87e471f968f835f" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxICanvas2D::Restore </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Restores the previous state of the canvas. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#aef706f844a586f48ef3c96731dbb687d">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="ae99cad30f6516ca9faeafd4af4cb1ec5"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Rotate" ref="ae99cad30f6516ca9faeafd4af4cb1ec5" args="(double theta, bool flipH, bool flipV, double cx, double cy)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxICanvas2D::Rotate </td>
<td>(</td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>theta</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>flipH</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>flipV</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>cx</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>cy</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Rotates the canvas by the given angle around the given center. This method may add rendering overhead and should be used with care. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>theta</em>&nbsp;</td><td>Rotation angle in degrees (0 - 360).</td></tr>
<tr><td valign="top"></td><td valign="top"><em>flipH</em>&nbsp;</td><td>Specifies if drawing should be flipped horizontally.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>flipV</em>&nbsp;</td><td>Specifies if drawing should be flipped vertically.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>cx</em>&nbsp;</td><td>X-coordinate of the center point.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>cy</em>&nbsp;</td><td>Y-coordinate of the center point.</td></tr>
</table>
</dd>
</dl>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#ac5af10b7d8e1f0f9c163da14cd51eb9e">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="ac93807c8770627c3aec3c92d46383c45"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Roundrect" ref="ac93807c8770627c3aec3c92d46383c45" args="(double x, double y, double w, double h, double dx, double dy)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxICanvas2D::Roundrect </td>
<td>(</td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>h</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>dx</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>dy</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Next fill or stroke should draw a round rectangle. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#ad4fccac39e1182fade708caf0a57eaf3">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="acb028c15edb7471d8df2c9b4b288a2dc"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Save" ref="acb028c15edb7471d8df2c9b4b288a2dc" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxICanvas2D::Save </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Saves the current state of the canvas. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#ace20f35dae70d42164f3d5aa422eee9c">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="af281d95936e45eb668c516b56bd0bde8"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Scale" ref="af281d95936e45eb668c516b56bd0bde8" args="(double value)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxICanvas2D::Scale </td>
<td>(</td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>value</em></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Uniformaly scales the canvas by the given amount. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The new scale value.</td></tr>
</table>
</dd>
</dl>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a427ec8105550a274f1a08ff8113d687d">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a454419025bbd42ae392a5cd4d7d49163"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::SetGlassGradient" ref="a454419025bbd42ae392a5cd4d7d49163" args="(double x, double y, double w, double h)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxICanvas2D::SetGlassGradient </td>
<td>(</td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>h</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Prepares the canvas to draw a glass gradient. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#aeac7fbfd34479f1b994cc8b4ecf0bc5e">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="af04887740790c4849e649f91b142d5b2"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::SetGradient" ref="af04887740790c4849e649f91b142d5b2" args="(string color1, string color2, double x, double y, double w, double h, string direction)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxICanvas2D::SetGradient </td>
<td>(</td>
<td class="paramtype">string&nbsp;</td>
<td class="paramname"> <em>color1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&nbsp;</td>
<td class="paramname"> <em>color2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>h</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&nbsp;</td>
<td class="paramname"> <em>direction</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Prepares the canvas to draw a gradient. </p>
</div>
</div>
<a class="anchor" id="a807a0eae6f0574aa2b4f236a0b76d2cc"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Shadow" ref="a807a0eae6f0574aa2b4f236a0b76d2cc" args="(string value, bool filled)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxICanvas2D::Shadow </td>
<td>(</td>
<td class="paramtype">string&nbsp;</td>
<td class="paramname"> <em>value</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>filled</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Paints the current path as a shadow. </p>
</div>
</div>
<a class="anchor" id="a801550a1789580c509257bc6ad8e8385"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Stroke" ref="a801550a1789580c509257bc6ad8e8385" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxICanvas2D::Stroke </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Paints the outline of the current path. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a0278180b14e6ed4bf0075855c73f074b">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="afcf4c07955c595bfd332186cd6fa8be3"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Text" ref="afcf4c07955c595bfd332186cd6fa8be3" args="(double x, double y, double w, double h, string str, string align, string valign, bool vertical, bool wrap, string format)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxICanvas2D::Text </td>
<td>(</td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>h</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&nbsp;</td>
<td class="paramname"> <em>str</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&nbsp;</td>
<td class="paramname"> <em>align</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&nbsp;</td>
<td class="paramname"> <em>valign</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>vertical</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>wrap</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&nbsp;</td>
<td class="paramname"> <em>format</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws the given string. Possible values for format are empty string for. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a083e98246802e087c999f16a4f8b7407">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a82fad15cca1deb74e81ac504924f91d0"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Translate" ref="a82fad15cca1deb74e81ac504924f91d0" args="(double dx, double dy)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxICanvas2D::Translate </td>
<td>(</td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>dx</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>dy</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Translates the canvas by the given amount. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>dx</em>&nbsp;</td><td>X-coordinate of the translation.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>dy</em>&nbsp;</td><td>Y-coordinate of the translation.</td></tr>
</table>
</dd>
</dl>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a541aa4694c566326143ffb5492674719">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<hr/><h2>Property Documentation</h2>
<a class="anchor" id="a6e78d631c45ea341b6e82ae2d2ae747f"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Alpha" ref="a6e78d631c45ea341b6e82ae2d2ae747f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double com::mxgraph::mxICanvas2D::Alpha<code> [set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Default value 1. This method may add rendering overhead and should be used with care. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#ad30fb99f1065da8fb956ceb519884381">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="aae8633458a4a93fb3bd354b130f0d4d7"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Dashed" ref="aae8633458a4a93fb3bd354b130f0d4d7" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool com::mxgraph::mxICanvas2D::Dashed<code> [set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the dashed state. This should default to false if unset. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#aa77ee2108750ef5c2e4e60306feb1a0d">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="aadab1f5cdf6ddc97b6dc8da9224c9f3d"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::DashPattern" ref="aadab1f5cdf6ddc97b6dc8da9224c9f3d" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">string com::mxgraph::mxICanvas2D::DashPattern<code> [set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the dash pattern. This should default to "3 3" if unset. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a92aaa9ef4ad6f542db277e988bcc41b5">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a4f488eea5fb315298333229d26b246cd"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::FillColor" ref="a4f488eea5fb315298333229d26b246cd" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">string com::mxgraph::mxICanvas2D::FillColor<code> [set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Default value <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a1adacf0fd058343aa49474e68b2e9bc0">mxConstants#NONE</a>. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a192122f8dd7753b20c59cb33458c2e4b">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a3aa4add33b9fcef3c6e81c20f76781ea"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::FontColor" ref="a3aa4add33b9fcef3c6e81c20f76781ea" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">string com::mxgraph::mxICanvas2D::FontColor<code> [set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Default value "#000000". </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#ac6f30b477f76d920c5597edd1d687e10">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="aae983110302f114c65645fadd6be63a9"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::FontFamily" ref="aae983110302f114c65645fadd6be63a9" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">string com::mxgraph::mxICanvas2D::FontFamily<code> [set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Default value <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#aa8f6be2c9e0c22d5a3fc3e7ffb78e091">mxConstants#DEFAULT_FONTFAMILY</a>. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#ae19b4bee4c6caca4f578037ba3d341d2">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a69f663bd9c909c261b33d151574f7d55"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::FontSize" ref="a69f663bd9c909c261b33d151574f7d55" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double com::mxgraph::mxICanvas2D::FontSize<code> [set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Default value <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a3e51abdecb7408a419abc5dc1add483d" title="Default size for fonts. Value is 11.">mxConstants.DEFAULT_FONTSIZE</a>. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#ad71b4013cd083413c542e53818d32ef3">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a709d43365adf4cb4c00726e83840a13d"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::FontStyle" ref="a709d43365adf4cb4c00726e83840a13d" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int com::mxgraph::mxICanvas2D::FontStyle<code> [set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Default value 0. See <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#ad7f0c932b0e6155f8941e3de4550cb7a">mxConstants#STYLE_FONTSTYLE</a>. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a9e4c081acdb7fc0b363adbfa345f0671">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a829ab2cbd41e4777ea46657a6da7ffd9"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::LineCap" ref="a829ab2cbd41e4777ea46657a6da7ffd9" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">string com::mxgraph::mxICanvas2D::LineCap<code> [set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the linecap. This should default to "flat" if unset. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#aeb5e8e776beb7049c86cd225748033e4">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="add41832e54a6a952a9e9e7a344593acd"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::LineJoin" ref="add41832e54a6a952a9e9e7a344593acd" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">string com::mxgraph::mxICanvas2D::LineJoin<code> [set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the linejoin. This should default to "miter" if unset. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#aeb7383d17e4ae8c2d90798ae06a22c94">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a991c36d1f078c3af31928fc485ef95e5"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::MiterLimit" ref="a991c36d1f078c3af31928fc485ef95e5" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double com::mxgraph::mxICanvas2D::MiterLimit<code> [set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the miterlimit. This should default to 10 if unset. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a9eb9a243faf69d55a94862f93f5aa985">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="ae67622bf2792d623c672d4a8b57f86e2"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::StrokeColor" ref="ae67622bf2792d623c672d4a8b57f86e2" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">string com::mxgraph::mxICanvas2D::StrokeColor<code> [set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the stroke color. This should default to <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a1adacf0fd058343aa49474e68b2e9bc0" title="Defines the value for none. Default is &quot;none&quot;.">mxConstants.NONE</a> if unset. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#addc63fa18ad55a6d496137c52c2f6410">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a56b6cf5694eb108521750e4187415660"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::StrokeWidth" ref="a56b6cf5694eb108521750e4187415660" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double com::mxgraph::mxICanvas2D::StrokeWidth<code> [set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the stroke width. This should default to 1 if unset. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#ac45d24fb89674db75ee34825bfe8739e">com::mxgraph::mxGdiCanvas2D</a>.</p>
</div>
</div>
<hr/>The documentation for this interface was generated from the following file:<ul>
<li>src/canvas/mxICanvas2D.cs</li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Fri Jul 20 11:32:31 2012 for mxGraph by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>