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

1315 lines
65 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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<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>
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">mxGraph
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.6.1 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</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 id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><b>com</b> </li>
<li class="navelem"><a class="el" href="namespacecom_1_1mxgraph.html">mxgraph</a> </li>
<li class="navelem"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html">mxICanvas2D</a> </li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#properties">Properties</a> </div>
<div class="headertitle">
<div class="title">com.mxgraph.mxICanvas2D Interface Reference</div> </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="com::mxgraph::mxICanvas2D" -->
<p>Defines the requirements for a canvas that paints the vertices and edges of a graph.
<a href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for com.mxgraph.mxICanvas2D:</div>
<div class="dyncontent">
<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" title="Used for exporting images. To render to an image from a given XML string, graph size and and backgrou..." alt="com.mxgraph.mxGdiCanvas2D" shape="rect" coords="0,56,184,80"/>
</map>
</div></div>
<p><a href="interfacecom_1_1mxgraph_1_1mxICanvas2D-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#aed6c0ce750c95f27a895cef994b8648d">Save</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Saves the current state of the canvas. <a href="#aed6c0ce750c95f27a895cef994b8648d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#ac9fbe6a1a858d7723439b617506b5690">Restore</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Restores the previous state of the canvas. <a href="#ac9fbe6a1a858d7723439b617506b5690"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#afcf2a9403fbc23f4b7a0dc37e15846d6">Scale</a> (double value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Uniformaly scales the canvas by the given amount. <a href="#afcf2a9403fbc23f4b7a0dc37e15846d6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a0908bb5d77778fcc257c17311c724b7d">Translate</a> (double dx, double dy)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Translates the canvas by the given amount. <a href="#a0908bb5d77778fcc257c17311c724b7d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#ae5df98dd5c4b0b3a21d0ee990b8255e1">Rotate</a> (double theta, bool flipH, bool flipV, double cx, double cy)</td></tr>
<tr><td class="mdescLeft">&#160;</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="#ae5df98dd5c4b0b3a21d0ee990b8255e1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#ac7c1346650ca0027618fe589659f5aba">SetGradient</a> (string color1, string color2, double x, double y, double w, double h, string direction, double alpha1, double alpha2)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Prepares the canvas to draw a gradient. <a href="#ac7c1346650ca0027618fe589659f5aba"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a9cdcbe54b6e52b02c013ea84c59fb4d2">SetShadowOffset</a> (double dx, double dy)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Prepares the canvas to draw a gradient. <a href="#a9cdcbe54b6e52b02c013ea84c59fb4d2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#ae12f3902cb72c91858bc4599aa357ef8">Rect</a> (double x, double y, double w, double h)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Next fill or stroke should draw a rectangle. <a href="#ae12f3902cb72c91858bc4599aa357ef8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#ab985e28b6205b5b7f5fc6fa870858675">Roundrect</a> (double x, double y, double w, double h, double dx, double dy)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Next fill or stroke should draw a round rectangle. <a href="#ab985e28b6205b5b7f5fc6fa870858675"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#acd713917990aac9f5ddfaffa8ef4e8f4">Ellipse</a> (double x, double y, double w, double h)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Next fill or stroke should draw an ellipse. <a href="#acd713917990aac9f5ddfaffa8ef4e8f4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#aed110a7b20146d0aa81e217eaaf2cec2">Image</a> (double x, double y, double w, double h, string src, bool aspect, bool flipH, bool flipV)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws the given image. <a href="#aed110a7b20146d0aa81e217eaaf2cec2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a0184c390798c6c00233668c6b123c650">Text</a> (double x, double y, double w, double h, string str, string align, string valign, bool wrap, string format, string overflow, bool clip, double rotation)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws the given string. Possible values for format are empty string for. <a href="#a0184c390798c6c00233668c6b123c650"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a28f01e9e99b9e5444b74fa236f3ceb59">Begin</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Begins a new path. <a href="#a28f01e9e99b9e5444b74fa236f3ceb59"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a6a6f46cc1adaf4df58c349b33c8c386c">MoveTo</a> (double x, double y)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Moves to the given path. <a href="#a6a6f46cc1adaf4df58c349b33c8c386c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#affda6db1918b1f5b140d35082953fafa">LineTo</a> (double x, double y)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a line to the given path. <a href="#affda6db1918b1f5b140d35082953fafa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a30dd2151bdf0c2d5e6166ad137752176">QuadTo</a> (double x1, double y1, double x2, double y2)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a quadratic curve to the given point. <a href="#a30dd2151bdf0c2d5e6166ad137752176"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a70fe6dfbb3701ec9966a2d56c15748f3">CurveTo</a> (double x1, double y1, double x2, double y2, double x3, double y3)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a bezier curve to the given point. <a href="#a70fe6dfbb3701ec9966a2d56c15748f3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a39ed7ff000df45118b5866c7fb09cc42">Close</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Closes the current path. <a href="#a39ed7ff000df45118b5866c7fb09cc42"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a7b9d014988cab1e2f599f370375a5fde">Stroke</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Paints the outline of the current path. <a href="#a7b9d014988cab1e2f599f370375a5fde"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a304531d4025c3a00b17fcf8752cfc135">Fill</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills the current path. <a href="#a304531d4025c3a00b17fcf8752cfc135"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#ae97b96672ee78e377b59423e20de7625">FillAndStroke</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills and paints the outline of the current path. <a href="#ae97b96672ee78e377b59423e20de7625"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="properties"></a>
Properties</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a5868009556f1500e5f54e80e83cc68d5">StrokeWidth</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the stroke width. This should default to 1 if unset. <a href="#a5868009556f1500e5f54e80e83cc68d5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a329dbd75a4cebcee7a8cdc3e3b4c9d01">StrokeColor</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the stroke color. This should default to <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a3c2389aa5ac4ef2c05f01beb97498cf3" title="Defines the value for none. Default is &quot;none&quot;.">mxConstants.NONE</a> if unset. <a href="#a329dbd75a4cebcee7a8cdc3e3b4c9d01"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a9461a19d276f055e2299ec86c52f7328">Dashed</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the dashed state. This should default to false if unset. <a href="#a9461a19d276f055e2299ec86c52f7328"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#afd1419aa77094edf53def199f33cfe9e">DashPattern</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the dash pattern. This should default to "3 3" if unset. <a href="#afd1419aa77094edf53def199f33cfe9e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#ad316c61aadc714784ccc9d46f72bd0d3">LineCap</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the linecap. This should default to "flat" if unset. <a href="#ad316c61aadc714784ccc9d46f72bd0d3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a2961073e07ee1870c71ee7c6c85b5480">LineJoin</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the linejoin. This should default to "miter" if unset. <a href="#a2961073e07ee1870c71ee7c6c85b5480"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a1b398418b20f91330c1c8f93c16dbc3d">MiterLimit</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the miterlimit. This should default to 10 if unset. <a href="#a1b398418b20f91330c1c8f93c16dbc3d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a0e0f5b8a47b12fb8292f9ef0d3a6efc0">FontSize</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default value <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#abe6391bb6bddede9502665d4838f99a3" title="Default size for fonts. Value is 11.">mxConstants.DEFAULT_FONTSIZE</a>. <a href="#a0e0f5b8a47b12fb8292f9ef0d3a6efc0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a4c0911ee35cae28d191e3b7ddf67bfb8">FontColor</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default value "#000000". <a href="#a4c0911ee35cae28d191e3b7ddf67bfb8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a853c6b96528f390cf1a4d295b18994bc">FontFamily</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default value <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a0122184a99891816d3409f52f804a03e">mxConstants#DEFAULT_FONTFAMILY</a>. <a href="#a853c6b96528f390cf1a4d295b18994bc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a416b559c908c5bda5cbae90b31320609">FontStyle</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default value 0. See <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a3649b54150b656e80d8e1ce7b16008c8">mxConstants#STYLE_FONTSTYLE</a>. <a href="#a416b559c908c5bda5cbae90b31320609"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a90a428ee51654c6499001a1c3d45bd33">FontBackgroundColor</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default value 0. See <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a3649b54150b656e80d8e1ce7b16008c8">mxConstants#STYLE_FONTSTYLE</a>. <a href="#a90a428ee51654c6499001a1c3d45bd33"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a9e1675ba744996386d34792238ee296b">FontBorderColor</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default value 0. See <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a3649b54150b656e80d8e1ce7b16008c8">mxConstants#STYLE_FONTSTYLE</a>. <a href="#a9e1675ba744996386d34792238ee296b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a48894d4235ffc2fd63ebdadabaf35a79">Alpha</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default value 1. This method may add rendering overhead and should be used with care. <a href="#a48894d4235ffc2fd63ebdadabaf35a79"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a44737751e4df400227a799e7bbd00bac">FillColor</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default value <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a3c2389aa5ac4ef2c05f01beb97498cf3">mxConstants#NONE</a>. <a href="#a44737751e4df400227a799e7bbd00bac"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a19e8c836f79edecb939c01c24b2e8f3d">Shadow</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default value <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a3c2389aa5ac4ef2c05f01beb97498cf3">mxConstants#NONE</a>. <a href="#a19e8c836f79edecb939c01c24b2e8f3d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a6a81d85d2a7d3533f71cbb3b1278d613">ShadowColor</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default value <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a3c2389aa5ac4ef2c05f01beb97498cf3">mxConstants#NONE</a>. <a href="#a6a81d85d2a7d3533f71cbb3b1278d613"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#aceac88ac878ddd3dc45a1254097cab75">ShadowAlpha</a><code> [set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default value 1. This method may add rendering overhead and should be used with care. <a href="#aceac88ac878ddd3dc45a1254097cab75"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Defines the requirements for a canvas that paints the vertices and edges of a graph. </p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a28f01e9e99b9e5444b74fa236f3ceb59"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Begin" ref="a28f01e9e99b9e5444b74fa236f3ceb59" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a28f01e9e99b9e5444b74fa236f3ceb59">com.mxgraph.mxICanvas2D.Begin</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</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#a010db2efe1770074cc4def5f3a47a734">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a39ed7ff000df45118b5866c7fb09cc42"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Close" ref="a39ed7ff000df45118b5866c7fb09cc42" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a39ed7ff000df45118b5866c7fb09cc42">com.mxgraph.mxICanvas2D.Close</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</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#a6df67c96bf3b498c259324db3ecf1ab2">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a70fe6dfbb3701ec9966a2d56c15748f3"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::CurveTo" ref="a70fe6dfbb3701ec9966a2d56c15748f3" 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 <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a70fe6dfbb3701ec9966a2d56c15748f3">com.mxgraph.mxICanvas2D.CurveTo</a> </td>
<td>(</td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x3</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y3</em>&#160;</td>
</tr>
<tr>
<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#a2d7867a4871574767630c789a0f299f6">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="acd713917990aac9f5ddfaffa8ef4e8f4"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Ellipse" ref="acd713917990aac9f5ddfaffa8ef4e8f4" args="(double x, double y, double w, double h)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#acd713917990aac9f5ddfaffa8ef4e8f4">com.mxgraph.mxICanvas2D.Ellipse</a> </td>
<td>(</td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>h</em>&#160;</td>
</tr>
<tr>
<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#a22bde4de96c70227a1597e5b66551dec">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a304531d4025c3a00b17fcf8752cfc135"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Fill" ref="a304531d4025c3a00b17fcf8752cfc135" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a304531d4025c3a00b17fcf8752cfc135">com.mxgraph.mxICanvas2D.Fill</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</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#a37fc24a1506927fadd64da5ea3e97cf8">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="ae97b96672ee78e377b59423e20de7625"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::FillAndStroke" ref="ae97b96672ee78e377b59423e20de7625" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#ae97b96672ee78e377b59423e20de7625">com.mxgraph.mxICanvas2D.FillAndStroke</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</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#a62d8902e61b305c18f7ddae7d4a3ef38">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="aed110a7b20146d0aa81e217eaaf2cec2"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Image" ref="aed110a7b20146d0aa81e217eaaf2cec2" 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 <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#aed110a7b20146d0aa81e217eaaf2cec2">com.mxgraph.mxICanvas2D.Image</a> </td>
<td>(</td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>h</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>src</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>aspect</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>flipH</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>flipV</em>&#160;</td>
</tr>
<tr>
<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="affda6db1918b1f5b140d35082953fafa"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::LineTo" ref="affda6db1918b1f5b140d35082953fafa" args="(double x, double y)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#affda6db1918b1f5b140d35082953fafa">com.mxgraph.mxICanvas2D.LineTo</a> </td>
<td>(</td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y</em>&#160;</td>
</tr>
<tr>
<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#a4474ef9067bfa578880c8dcff3b35fd6">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a6a6f46cc1adaf4df58c349b33c8c386c"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::MoveTo" ref="a6a6f46cc1adaf4df58c349b33c8c386c" args="(double x, double y)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a6a6f46cc1adaf4df58c349b33c8c386c">com.mxgraph.mxICanvas2D.MoveTo</a> </td>
<td>(</td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y</em>&#160;</td>
</tr>
<tr>
<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#a909bb3cbbea1652b7b4b3d2e1b722100">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a30dd2151bdf0c2d5e6166ad137752176"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::QuadTo" ref="a30dd2151bdf0c2d5e6166ad137752176" args="(double x1, double y1, double x2, double y2)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a30dd2151bdf0c2d5e6166ad137752176">com.mxgraph.mxICanvas2D.QuadTo</a> </td>
<td>(</td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y2</em>&#160;</td>
</tr>
<tr>
<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#abba77e7082fb13a550d0b8c55ccf9ecd">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="ae12f3902cb72c91858bc4599aa357ef8"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Rect" ref="ae12f3902cb72c91858bc4599aa357ef8" args="(double x, double y, double w, double h)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#ae12f3902cb72c91858bc4599aa357ef8">com.mxgraph.mxICanvas2D.Rect</a> </td>
<td>(</td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>h</em>&#160;</td>
</tr>
<tr>
<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#ab822a48aa8fe95d32ff2059bb0d15015">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="ac9fbe6a1a858d7723439b617506b5690"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Restore" ref="ac9fbe6a1a858d7723439b617506b5690" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#ac9fbe6a1a858d7723439b617506b5690">com.mxgraph.mxICanvas2D.Restore</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</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#a814e9b2b81a76abd7c678d4000a7bb43">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="ae5df98dd5c4b0b3a21d0ee990b8255e1"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Rotate" ref="ae5df98dd5c4b0b3a21d0ee990b8255e1" 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 <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#ae5df98dd5c4b0b3a21d0ee990b8255e1">com.mxgraph.mxICanvas2D.Rotate</a> </td>
<td>(</td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>theta</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>flipH</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>flipV</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>cx</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>cy</em>&#160;</td>
</tr>
<tr>
<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 class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">theta</td><td>Rotation angle in degrees (0 - 360).</td></tr>
<tr><td class="paramname">flipH</td><td>Specifies if drawing should be flipped horizontally.</td></tr>
<tr><td class="paramname">flipV</td><td>Specifies if drawing should be flipped vertically.</td></tr>
<tr><td class="paramname">cx</td><td>X-coordinate of the center point.</td></tr>
<tr><td class="paramname">cy</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#a547a00923134815b5f994412e2e58b5b">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="ab985e28b6205b5b7f5fc6fa870858675"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Roundrect" ref="ab985e28b6205b5b7f5fc6fa870858675" 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 <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#ab985e28b6205b5b7f5fc6fa870858675">com.mxgraph.mxICanvas2D.Roundrect</a> </td>
<td>(</td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>h</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>dx</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>dy</em>&#160;</td>
</tr>
<tr>
<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#a6a626199019a38407d7466691ec81b72">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="aed6c0ce750c95f27a895cef994b8648d"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Save" ref="aed6c0ce750c95f27a895cef994b8648d" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#aed6c0ce750c95f27a895cef994b8648d">com.mxgraph.mxICanvas2D.Save</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</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#aba3e5497fdc1774dfaa9f9ab9b7a1cd0">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="afcf2a9403fbc23f4b7a0dc37e15846d6"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Scale" ref="afcf2a9403fbc23f4b7a0dc37e15846d6" args="(double value)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#afcf2a9403fbc23f4b7a0dc37e15846d6">com.mxgraph.mxICanvas2D.Scale</a> </td>
<td>(</td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>value</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Uniformaly scales the canvas by the given amount. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">value</td><td>The new scale value.</td></tr>
</table>
</dd>
</dl>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a65e3013a8a068010ee003f0810f17ece">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="ac7c1346650ca0027618fe589659f5aba"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::SetGradient" ref="ac7c1346650ca0027618fe589659f5aba" args="(string color1, string color2, double x, double y, double w, double h, string direction, double alpha1, double alpha2)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#ac7c1346650ca0027618fe589659f5aba">com.mxgraph.mxICanvas2D.SetGradient</a> </td>
<td>(</td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>color1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>color2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>h</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>direction</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>alpha1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>alpha2</em>&#160;</td>
</tr>
<tr>
<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="a9cdcbe54b6e52b02c013ea84c59fb4d2"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::SetShadowOffset" ref="a9cdcbe54b6e52b02c013ea84c59fb4d2" args="(double dx, double dy)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a9cdcbe54b6e52b02c013ea84c59fb4d2">com.mxgraph.mxICanvas2D.SetShadowOffset</a> </td>
<td>(</td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>dx</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>dy</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Prepares the canvas to draw a gradient. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a33c2596b7caccd3237f36adfbbaeb33f">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a7b9d014988cab1e2f599f370375a5fde"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Stroke" ref="a7b9d014988cab1e2f599f370375a5fde" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a7b9d014988cab1e2f599f370375a5fde">com.mxgraph.mxICanvas2D.Stroke</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</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#adaa5bf6e763708286e95d543ffec2d60">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a0184c390798c6c00233668c6b123c650"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Text" ref="a0184c390798c6c00233668c6b123c650" args="(double x, double y, double w, double h, string str, string align, string valign, bool wrap, string format, string overflow, bool clip, double rotation)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a0184c390798c6c00233668c6b123c650">com.mxgraph.mxICanvas2D.Text</a> </td>
<td>(</td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>h</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>str</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>align</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>valign</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>wrap</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>format</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>overflow</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>clip</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>rotation</em>&#160;</td>
</tr>
<tr>
<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#a56ff4fad53efea561a7d9c06eb870b7b">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a0908bb5d77778fcc257c17311c724b7d"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Translate" ref="a0908bb5d77778fcc257c17311c724b7d" args="(double dx, double dy)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a0908bb5d77778fcc257c17311c724b7d">com.mxgraph.mxICanvas2D.Translate</a> </td>
<td>(</td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>dx</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>dy</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Translates the canvas by the given amount. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">dx</td><td>X-coordinate of the translation.</td></tr>
<tr><td class="paramname">dy</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#a130009b157e38ef664cfc6efb06d3d9a">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<hr/><h2>Property Documentation</h2>
<a class="anchor" id="a48894d4235ffc2fd63ebdadabaf35a79"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Alpha" ref="a48894d4235ffc2fd63ebdadabaf35a79" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a48894d4235ffc2fd63ebdadabaf35a79">com.mxgraph.mxICanvas2D.Alpha</a><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#a4ef49d57fa12764083f987ca32d13d6e">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a9461a19d276f055e2299ec86c52f7328"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Dashed" ref="a9461a19d276f055e2299ec86c52f7328" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a9461a19d276f055e2299ec86c52f7328">com.mxgraph.mxICanvas2D.Dashed</a><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#a28a1fbe93907c5b8715c2b75d4e5c21b">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="afd1419aa77094edf53def199f33cfe9e"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::DashPattern" ref="afd1419aa77094edf53def199f33cfe9e" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">string <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#afd1419aa77094edf53def199f33cfe9e">com.mxgraph.mxICanvas2D.DashPattern</a><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#ad4f2e4c72a6eb2725b2f19f023a199b5">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a44737751e4df400227a799e7bbd00bac"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::FillColor" ref="a44737751e4df400227a799e7bbd00bac" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">string <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a44737751e4df400227a799e7bbd00bac">com.mxgraph.mxICanvas2D.FillColor</a><code> [set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Default value <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a3c2389aa5ac4ef2c05f01beb97498cf3">mxConstants#NONE</a>. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a088edb66bed6448341b4add4aa67d523">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a90a428ee51654c6499001a1c3d45bd33"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::FontBackgroundColor" ref="a90a428ee51654c6499001a1c3d45bd33" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">string <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a90a428ee51654c6499001a1c3d45bd33">com.mxgraph.mxICanvas2D.FontBackgroundColor</a><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#a3649b54150b656e80d8e1ce7b16008c8">mxConstants#STYLE_FONTSTYLE</a>. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a902c214d531acf6840d94b71ff086594">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a9e1675ba744996386d34792238ee296b"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::FontBorderColor" ref="a9e1675ba744996386d34792238ee296b" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">string <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a9e1675ba744996386d34792238ee296b">com.mxgraph.mxICanvas2D.FontBorderColor</a><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#a3649b54150b656e80d8e1ce7b16008c8">mxConstants#STYLE_FONTSTYLE</a>. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a94050853cf69b0779d839538fc38f19d">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a4c0911ee35cae28d191e3b7ddf67bfb8"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::FontColor" ref="a4c0911ee35cae28d191e3b7ddf67bfb8" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">string <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a4c0911ee35cae28d191e3b7ddf67bfb8">com.mxgraph.mxICanvas2D.FontColor</a><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#a5b48bca61882f9d2b7e37884a8f035f1">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a853c6b96528f390cf1a4d295b18994bc"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::FontFamily" ref="a853c6b96528f390cf1a4d295b18994bc" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">string <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a853c6b96528f390cf1a4d295b18994bc">com.mxgraph.mxICanvas2D.FontFamily</a><code> [set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Default value <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a0122184a99891816d3409f52f804a03e">mxConstants#DEFAULT_FONTFAMILY</a>. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a79e4ffd22e0cb6b86cd671a65ce27e30">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a0e0f5b8a47b12fb8292f9ef0d3a6efc0"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::FontSize" ref="a0e0f5b8a47b12fb8292f9ef0d3a6efc0" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a0e0f5b8a47b12fb8292f9ef0d3a6efc0">com.mxgraph.mxICanvas2D.FontSize</a><code> [set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Default value <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#abe6391bb6bddede9502665d4838f99a3" 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#ac55bc7b0f9101d61b7d6da53546f2db5">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a416b559c908c5bda5cbae90b31320609"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::FontStyle" ref="a416b559c908c5bda5cbae90b31320609" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a416b559c908c5bda5cbae90b31320609">com.mxgraph.mxICanvas2D.FontStyle</a><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#a3649b54150b656e80d8e1ce7b16008c8">mxConstants#STYLE_FONTSTYLE</a>. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a2a90a486a7293b7734f373083a6b2699">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="ad316c61aadc714784ccc9d46f72bd0d3"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::LineCap" ref="ad316c61aadc714784ccc9d46f72bd0d3" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">string <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#ad316c61aadc714784ccc9d46f72bd0d3">com.mxgraph.mxICanvas2D.LineCap</a><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#a25693d3ea758b8cc1eac976e8c8b7d14">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a2961073e07ee1870c71ee7c6c85b5480"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::LineJoin" ref="a2961073e07ee1870c71ee7c6c85b5480" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">string <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a2961073e07ee1870c71ee7c6c85b5480">com.mxgraph.mxICanvas2D.LineJoin</a><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#aee7b7df9b646f37481b8dfc60588d116">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a1b398418b20f91330c1c8f93c16dbc3d"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::MiterLimit" ref="a1b398418b20f91330c1c8f93c16dbc3d" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a1b398418b20f91330c1c8f93c16dbc3d">com.mxgraph.mxICanvas2D.MiterLimit</a><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#a8aba9889a63a2f1f8fb8b60fbce13e11">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a19e8c836f79edecb939c01c24b2e8f3d"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::Shadow" ref="a19e8c836f79edecb939c01c24b2e8f3d" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a19e8c836f79edecb939c01c24b2e8f3d">com.mxgraph.mxICanvas2D.Shadow</a><code> [set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Default value <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a3c2389aa5ac4ef2c05f01beb97498cf3">mxConstants#NONE</a>. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a048c5b57cd3ed270f383bce1b925b96b">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="aceac88ac878ddd3dc45a1254097cab75"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::ShadowAlpha" ref="aceac88ac878ddd3dc45a1254097cab75" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#aceac88ac878ddd3dc45a1254097cab75">com.mxgraph.mxICanvas2D.ShadowAlpha</a><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#a8657f97e7ae5e4d95121945fa62f78fc">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a6a81d85d2a7d3533f71cbb3b1278d613"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::ShadowColor" ref="a6a81d85d2a7d3533f71cbb3b1278d613" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">string <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a6a81d85d2a7d3533f71cbb3b1278d613">com.mxgraph.mxICanvas2D.ShadowColor</a><code> [set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Default value <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a3c2389aa5ac4ef2c05f01beb97498cf3">mxConstants#NONE</a>. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html#a74ce3a2086ea405bc062dd935b504ffe">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a329dbd75a4cebcee7a8cdc3e3b4c9d01"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::StrokeColor" ref="a329dbd75a4cebcee7a8cdc3e3b4c9d01" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">string <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a329dbd75a4cebcee7a8cdc3e3b4c9d01">com.mxgraph.mxICanvas2D.StrokeColor</a><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#a3c2389aa5ac4ef2c05f01beb97498cf3" 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#af536ce6a4f0f0bc604eab60bf992d91e">com.mxgraph.mxGdiCanvas2D</a>.</p>
</div>
</div>
<a class="anchor" id="a5868009556f1500e5f54e80e83cc68d5"></a><!-- doxytag: member="com::mxgraph::mxICanvas2D::StrokeWidth" ref="a5868009556f1500e5f54e80e83cc68d5" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas2D.html#a5868009556f1500e5f54e80e83cc68d5">com.mxgraph.mxICanvas2D.StrokeWidth</a><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#a1d84ac7a9b825717f952aaddc337ee60">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><!-- contents -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Sep 25 2013 12:53:19 for mxGraph by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>
</body>
</html>