maxGraph/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGd...

1491 lines
67 KiB
HTML
Raw Normal View History

2012-05-21 20:32:26 +00:00
<!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"/>
2013-04-04 11:51:15 +00:00
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>mxGraph: com.mxgraph.mxGdiCanvas Class Reference</title>
2012-05-21 20:32:26 +00:00
<link href="tabs.css" rel="stylesheet" type="text/css"/>
2013-04-04 11:51:15 +00:00
<link href="doxygen.css" rel="stylesheet" type="text/css" />
2012-05-21 20:32:26 +00:00
</head>
<body>
2013-04-04 11:51:15 +00:00
<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>
2012-05-21 20:32:26 +00:00
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
2013-04-04 11:51:15 +00:00
<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>
2012-05-21 20:32:26 +00:00
</ul>
</div>
2013-04-04 11:51:15 +00:00
<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="classcom_1_1mxgraph_1_1mxGdiCanvas.html">mxGdiCanvas</a> </li>
</ul>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#properties">Properties</a> </div>
<div class="headertitle">
<div class="title">com.mxgraph.mxGdiCanvas Class Reference</div> </div>
</div><!--header-->
2012-05-21 20:32:26 +00:00
<div class="contents">
2013-04-04 11:51:15 +00:00
<!-- doxytag: class="com::mxgraph::mxGdiCanvas" --><!-- doxytag: inherits="com::mxgraph::mxBasicCanvas" -->
2012-05-21 20:32:26 +00:00
<p>Implementation of a canvas that uses GDI for painting.
2013-04-04 11:51:15 +00:00
<a href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#details">More...</a></p>
2012-05-21 20:32:26 +00:00
<div class="dynheader">
2013-04-04 11:51:15 +00:00
Inheritance diagram for com.mxgraph.mxGdiCanvas:</div>
<div class="dyncontent">
2012-05-21 20:32:26 +00:00
<div class="center">
2013-04-04 11:51:15 +00:00
<img src="classcom_1_1mxgraph_1_1mxGdiCanvas.png" usemap="#com.mxgraph.mxGdiCanvas_map" alt=""/>
<map id="com.mxgraph.mxGdiCanvas_map" name="com.mxgraph.mxGdiCanvas_map">
<area href="classcom_1_1mxgraph_1_1mxBasicCanvas.html" title="Basic implementation of a canvas that draws a graph." alt="com.mxgraph.mxBasicCanvas" shape="rect" coords="0,56,180,80"/>
<area href="interfacecom_1_1mxgraph_1_1mxICanvas.html" title="Defines the requirements for a canvas that paints the vertices and edges of a graph." alt="com.mxgraph.mxICanvas" shape="rect" coords="0,0,180,24"/>
2012-05-21 20:32:26 +00:00
</map>
2013-04-04 11:51:15 +00:00
</div></div>
2012-05-21 20:32:26 +00:00
<p><a href="classcom_1_1mxgraph_1_1mxGdiCanvas-members.html">List of all members.</a></p>
2013-04-04 11:51:15 +00:00
<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">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aa9ae06c89d17b13fb171168419c90a83">mxGdiCanvas</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a new GDI canvas. <a href="#aa9ae06c89d17b13fb171168419c90a83"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a9b5137b9a41060930584e6b089daa0eb">mxGdiCanvas</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aea5c29449403b8dc069f3f2966767abc">Graphics</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aae86eb9f2145a6c97729fbd45ac4a5dc">g</a>)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a new GDI canvas for the given graphics instance. <a href="#a9b5137b9a41060930584e6b089daa0eb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">override Object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a76bd38ecebca3a73798ac61c58a5015c">DrawCell</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> state)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas.html#a2b9d62b6b658833c5455b3e79807e73a" title="Draws the given cell.">com.mxgraph.mxICanvas.DrawCell()</a> <a href="#a76bd38ecebca3a73798ac61c58a5015c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">override Object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a962325d7b89f75230f1e3fb991b5fe34">DrawLabel</a> (string text, <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> state, bool html)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas.html#a81915e5bda4641165f93ac7b9177fae8" title="Draws the given label.">com.mxgraph.mxICanvas.DrawLabel()</a> <a href="#a962325d7b89f75230f1e3fb991b5fe34"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a916256e385f3996f715b5e0634733e93">DrawShape</a> (int x, int y, int w, int h, Dictionary&lt; string, Object &gt; style)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws the shape specified with the STYLE_SHAPE key in the given style. <a href="#a916256e385f3996f715b5e0634733e93"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a3e760b411c7644732fc51bc3f4d2ab87">DrawLine</a> (List&lt; <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> &gt; pts, Dictionary&lt; string, Object &gt; style)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws the given lines as segments between all points of the given list of mxPoints. <a href="#a3e760b411c7644732fc51bc3f4d2ab87"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a466473b288049a9481f6723b4e9a7ecf">DrawMarker</a> (Object type, <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> p0, <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> pe, float size, Pen pen)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws the given type of marker. <a href="#a466473b288049a9481f6723b4e9a7ecf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aa3cbd5664957d03feb044be31d7f4140">DrawText</a> (string text, int x, int y, int w, int h, Dictionary&lt; string, Object &gt; style)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws the specified text either using drawHtmlString or using drawString. <a href="#aa3cbd5664957d03feb044be31d7f4140"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aca014bd38921618cde63380cb23a5c4c">Destroy</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroys the canvas and frees all allocated resources. <a href="#aca014bd38921618cde63380cb23a5c4c"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a16ab4a93c351e3f983286efe91b13d97">getArcSize</a> (int w, int h)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the arc size for the given dimension. <a href="#a16ab4a93c351e3f983286efe91b13d97"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a8ef97b9528ce5250c1083e6cb04f7142">PRESERVE_IMAGE_ASPECT</a> = true</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Specifies if image aspect should be preserved in drawImage. <a href="#a8ef97b9528ce5250c1083e6cb04f7142"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Image&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a942524aac27cba6b7269a6656e531683">LoadImage</a> (String image)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an image instance for the given URL. If the URL has been loaded before than an instance of the same instance is returned as in the previous call. <a href="#a942524aac27cba6b7269a6656e531683"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a81957cbbcb49169c9ec9c1ee29e9e06b">DrawGlassEffect</a> (int x, int y, int w, int h, Dictionary&lt; string, Object &gt; style)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws the glass effect. <a href="#a81957cbbcb49169c9ec9c1ee29e9e06b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a4bbdb94ede3359fb88b0c48b58cafc64">DrawPolygon</a> (Point[] polygon, Brush brush, Pen pen, bool shadow)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a a polygon for the given parameters. <a href="#a4bbdb94ede3359fb88b0c48b58cafc64"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aff764bbd9912eb131816a7b1f15edcf1">DrawPath</a> (GraphicsPath path, Brush brush, Pen pen, bool shadow)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a path for the given parameters. <a href="#aff764bbd9912eb131816a7b1f15edcf1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a377dad6cdf37032f38e6a37a1cc99c3a">DrawRect</a> (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow, bool rounded)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a rectangle for the given parameters. <a href="#a377dad6cdf37032f38e6a37a1cc99c3a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#add3063c9b977a0c7b8e3e1b3cb0b297f">DrawImage</a> (int x, int y, int w, int h, String image)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws an image for the given parameters. <a href="#add3063c9b977a0c7b8e3e1b3cb0b297f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a5bf98a1ff57cb653822231dee6078bae">DrawImage</a> (int x, int y, int w, int h, String image, bool preserveAspect, bool flipH, bool flipV)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws an image for the given parameters. <a href="#a5bf98a1ff57cb653822231dee6078bae"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a6904a72d331fe8982f09ab4a0ba7bb4d">DrawOval</a> (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws an oval for the given parameters. <a href="#a6904a72d331fe8982f09ab4a0ba7bb4d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#acad5b993f96aa9f1179db053b8a278a1">DrawRhombus</a> (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws an rhombus (aka. diamond) for the given parameters. <a href="#acad5b993f96aa9f1179db053b8a278a1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a585d7929f93afc8ea271f47988d5a1a6">DrawCylinder</a> (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a cylinder for the given parameters. <a href="#a585d7929f93afc8ea271f47988d5a1a6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a7c4d17cc55ff4dc3a26c99bee2af011c">DrawActor</a> (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws an actor shape for the given parameters. <a href="#a7c4d17cc55ff4dc3a26c99bee2af011c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#abc935a5e1a3e1f5c1bf6e758ffe2dcd4">DrawCloud</a> (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a cloud shape for the given parameters. <a href="#abc935a5e1a3e1f5c1bf6e758ffe2dcd4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#ad1d56706145d887515ad4ca5bfc968bb">DrawTriangle</a> (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow, string direction)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a triangle shape for the given parameters. <a href="#ad1d56706145d887515ad4ca5bfc968bb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a2142bfede33384b19a696af91381f1c7">DrawHexagon</a> (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow, string direction)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a hexagon shape for the given parameters. <a href="#a2142bfede33384b19a696af91381f1c7"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Dictionary&lt; string, Image &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aafa5f7ccb103b83dc69b6439d5f6494a">imageCache</a> = new Dictionary&lt;string, Image&gt;()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Cache for loading images. <a href="#aafa5f7ccb103b83dc69b6439d5f6494a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aea5c29449403b8dc069f3f2966767abc">Graphics</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aae86eb9f2145a6c97729fbd45ac4a5dc">g</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Global graphics handle to the image. <a href="#aae86eb9f2145a6c97729fbd45ac4a5dc"></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"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aea5c29449403b8dc069f3f2966767abc">Graphics</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aea5c29449403b8dc069f3f2966767abc">Graphics</a><code> [get, set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets or gets the graphics object to paint the canvas. <a href="#aea5c29449403b8dc069f3f2966767abc"></a><br/></td></tr>
2012-05-21 20:32:26 +00:00
</table>
2013-04-04 11:51:15 +00:00
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Implementation of a canvas that uses GDI for painting. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aa9ae06c89d17b13fb171168419c90a83"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::mxGdiCanvas" ref="aa9ae06c89d17b13fb171168419c90a83" args="()" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aa9ae06c89d17b13fb171168419c90a83">com.mxgraph.mxGdiCanvas.mxGdiCanvas</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramname"></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Constructs a new GDI canvas. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a9b5137b9a41060930584e6b089daa0eb"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::mxGdiCanvas" ref="a9b5137b9a41060930584e6b089daa0eb" args="(Graphics g)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aa9ae06c89d17b13fb171168419c90a83">com.mxgraph.mxGdiCanvas.mxGdiCanvas</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aea5c29449403b8dc069f3f2966767abc">Graphics</a>&#160;</td>
<td class="paramname"><em>g</em></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Constructs a new GDI canvas for the given graphics instance. </p>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="aca014bd38921618cde63380cb23a5c4c"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::Destroy" ref="aca014bd38921618cde63380cb23a5c4c" args="()" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aca014bd38921618cde63380cb23a5c4c">com.mxgraph.mxGdiCanvas.Destroy</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramname"></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Destroys the canvas and frees all allocated resources. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a7c4d17cc55ff4dc3a26c99bee2af011c"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawActor" ref="a7c4d17cc55ff4dc3a26c99bee2af011c" args="(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a7c4d17cc55ff4dc3a26c99bee2af011c">com.mxgraph.mxGdiCanvas.DrawActor</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>x</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>y</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>w</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>h</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Brush&#160;</td>
<td class="paramname"><em>brush</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Pen&#160;</td>
<td class="paramname"><em>pen</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>shadow</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline, protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws an actor shape for the given parameters. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>X-coordinate of the shape.</td></tr>
<tr><td class="paramname">y</td><td>Y-coordinate of the shape.</td></tr>
<tr><td class="paramname">w</td><td>Width of the shape.</td></tr>
<tr><td class="paramname">h</td><td>Height of the shape.</td></tr>
<tr><td class="paramname">brush</td><td>Optional brush for painting the background.</td></tr>
<tr><td class="paramname">pen</td><td>Optional pen for painting the border.</td></tr>
<tr><td class="paramname">shadow</td><td>Boolean indicating if a shadow should be painted.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a76bd38ecebca3a73798ac61c58a5015c"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawCell" ref="a76bd38ecebca3a73798ac61c58a5015c" args="(mxCellState state)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">override Object <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a76bd38ecebca3a73798ac61c58a5015c">com.mxgraph.mxGdiCanvas.DrawCell</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>state</em></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
2013-04-04 11:51:15 +00:00
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas.html#a2b9d62b6b658833c5455b3e79807e73a" title="Draws the given cell.">com.mxgraph.mxICanvas.DrawCell()</a> </p>
2012-05-21 20:32:26 +00:00
2013-04-04 11:51:15 +00:00
<p>Implements <a class="el" href="classcom_1_1mxgraph_1_1mxBasicCanvas.html#ab8d6ec57958c57bfc796e3404fdf9816">com.mxgraph.mxBasicCanvas</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="abc935a5e1a3e1f5c1bf6e758ffe2dcd4"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawCloud" ref="abc935a5e1a3e1f5c1bf6e758ffe2dcd4" args="(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#abc935a5e1a3e1f5c1bf6e758ffe2dcd4">com.mxgraph.mxGdiCanvas.DrawCloud</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>x</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>y</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>w</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>h</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Brush&#160;</td>
<td class="paramname"><em>brush</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Pen&#160;</td>
<td class="paramname"><em>pen</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>shadow</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline, protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws a cloud shape for the given parameters. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>X-coordinate of the shape.</td></tr>
<tr><td class="paramname">y</td><td>Y-coordinate of the shape.</td></tr>
<tr><td class="paramname">w</td><td>Width of the shape.</td></tr>
<tr><td class="paramname">h</td><td>Height of the shape.</td></tr>
<tr><td class="paramname">brush</td><td>Optional brush for painting the background.</td></tr>
<tr><td class="paramname">pen</td><td>Optional pen for painting the border.</td></tr>
<tr><td class="paramname">shadow</td><td>Boolean indicating if a shadow should be painted.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a585d7929f93afc8ea271f47988d5a1a6"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawCylinder" ref="a585d7929f93afc8ea271f47988d5a1a6" args="(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a585d7929f93afc8ea271f47988d5a1a6">com.mxgraph.mxGdiCanvas.DrawCylinder</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>x</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>y</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>w</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>h</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Brush&#160;</td>
<td class="paramname"><em>brush</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Pen&#160;</td>
<td class="paramname"><em>pen</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>shadow</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline, protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws a cylinder for the given parameters. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>X-coordinate of the shape.</td></tr>
<tr><td class="paramname">y</td><td>Y-coordinate of the shape.</td></tr>
<tr><td class="paramname">w</td><td>Width of the shape.</td></tr>
<tr><td class="paramname">h</td><td>Height of the shape.</td></tr>
<tr><td class="paramname">brush</td><td>Optional brush for painting the background.</td></tr>
<tr><td class="paramname">pen</td><td>Optional pen for painting the border.</td></tr>
<tr><td class="paramname">shadow</td><td>Boolean indicating if a shadow should be painted.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a81957cbbcb49169c9ec9c1ee29e9e06b"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawGlassEffect" ref="a81957cbbcb49169c9ec9c1ee29e9e06b" args="(int x, int y, int w, int h, Dictionary&lt; string, Object &gt; style)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a81957cbbcb49169c9ec9c1ee29e9e06b">com.mxgraph.mxGdiCanvas.DrawGlassEffect</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>x</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>y</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>w</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>h</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Dictionary&lt; string, Object &gt;&#160;</td>
<td class="paramname"><em>style</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline, protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws the glass effect. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a2142bfede33384b19a696af91381f1c7"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawHexagon" ref="a2142bfede33384b19a696af91381f1c7" args="(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow, string direction)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a2142bfede33384b19a696af91381f1c7">com.mxgraph.mxGdiCanvas.DrawHexagon</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>x</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>y</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>w</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>h</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Brush&#160;</td>
<td class="paramname"><em>brush</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Pen&#160;</td>
<td class="paramname"><em>pen</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>shadow</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>direction</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline, protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws a hexagon shape for the given parameters. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>X-coordinate of the shape.</td></tr>
<tr><td class="paramname">y</td><td>Y-coordinate of the shape.</td></tr>
<tr><td class="paramname">w</td><td>Width of the shape.</td></tr>
<tr><td class="paramname">h</td><td>Height of the shape.</td></tr>
<tr><td class="paramname">brush</td><td>Optional brush for painting the background.</td></tr>
<tr><td class="paramname">pen</td><td>Optional pen for painting the border.</td></tr>
<tr><td class="paramname">shadow</td><td>Boolean indicating if a shadow should be painted.</td></tr>
<tr><td class="paramname">direction</td><td>Specifies the direction of the hexagon.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="add3063c9b977a0c7b8e3e1b3cb0b297f"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawImage" ref="add3063c9b977a0c7b8e3e1b3cb0b297f" args="(int x, int y, int w, int h, String image)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#add3063c9b977a0c7b8e3e1b3cb0b297f">com.mxgraph.mxGdiCanvas.DrawImage</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>x</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>y</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>w</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>h</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>image</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline, protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws an image for the given parameters. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>X-coordinate of the image.</td></tr>
<tr><td class="paramname">y</td><td>Y-coordinate of the image.</td></tr>
<tr><td class="paramname">w</td><td>Width of the image.</td></tr>
<tr><td class="paramname">h</td><td>Height of the image.</td></tr>
<tr><td class="paramname">image</td><td>URL of the image.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a5bf98a1ff57cb653822231dee6078bae"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawImage" ref="a5bf98a1ff57cb653822231dee6078bae" args="(int x, int y, int w, int h, String image, bool preserveAspect, bool flipH, bool flipV)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#add3063c9b977a0c7b8e3e1b3cb0b297f">com.mxgraph.mxGdiCanvas.DrawImage</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>x</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>y</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>w</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>h</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>image</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>preserveAspect</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>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline, protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws an image for the given parameters. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>X-coordinate of the image.</td></tr>
<tr><td class="paramname">y</td><td>Y-coordinate of the image.</td></tr>
<tr><td class="paramname">w</td><td>Width of the image.</td></tr>
<tr><td class="paramname">h</td><td>Height of the image.</td></tr>
<tr><td class="paramname">image</td><td>URL of the image.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a962325d7b89f75230f1e3fb991b5fe34"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawLabel" ref="a962325d7b89f75230f1e3fb991b5fe34" args="(string text, mxCellState state, bool html)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">override Object <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a962325d7b89f75230f1e3fb991b5fe34">com.mxgraph.mxGdiCanvas.DrawLabel</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>text</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>state</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>html</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline, virtual]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
2013-04-04 11:51:15 +00:00
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas.html#a81915e5bda4641165f93ac7b9177fae8" title="Draws the given label.">com.mxgraph.mxICanvas.DrawLabel()</a> </p>
2012-05-21 20:32:26 +00:00
2013-04-04 11:51:15 +00:00
<p>Implements <a class="el" href="classcom_1_1mxgraph_1_1mxBasicCanvas.html#acc1d4e9e83ced1b5b70d1097b53aade4">com.mxgraph.mxBasicCanvas</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a3e760b411c7644732fc51bc3f4d2ab87"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawLine" ref="a3e760b411c7644732fc51bc3f4d2ab87" args="(List&lt; mxPoint &gt; pts, Dictionary&lt; string, Object &gt; style)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a3e760b411c7644732fc51bc3f4d2ab87">com.mxgraph.mxGdiCanvas.DrawLine</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">List&lt; <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> &gt;&#160;</td>
<td class="paramname"><em>pts</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Dictionary&lt; string, Object &gt;&#160;</td>
<td class="paramname"><em>style</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws the given lines as segments between all points of the given list of mxPoints. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">pts</td><td>List of points that define the line.</td></tr>
<tr><td class="paramname">style</td><td>Style to be used for painting the line.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a466473b288049a9481f6723b4e9a7ecf"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawMarker" ref="a466473b288049a9481f6723b4e9a7ecf" args="(Object type, mxPoint p0, mxPoint pe, float size, Pen pen)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a466473b288049a9481f6723b4e9a7ecf">com.mxgraph.mxGdiCanvas.DrawMarker</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Object&#160;</td>
<td class="paramname"><em>type</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>&#160;</td>
<td class="paramname"><em>p0</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>&#160;</td>
<td class="paramname"><em>pe</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>size</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Pen&#160;</td>
<td class="paramname"><em>pen</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws the given type of marker. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">type</td><td></td></tr>
<tr><td class="paramname">p0</td><td></td></tr>
<tr><td class="paramname">pe</td><td></td></tr>
<tr><td class="paramname">size</td><td></td></tr>
<tr><td class="paramname">pen</td><td></td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a6904a72d331fe8982f09ab4a0ba7bb4d"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawOval" ref="a6904a72d331fe8982f09ab4a0ba7bb4d" args="(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a6904a72d331fe8982f09ab4a0ba7bb4d">com.mxgraph.mxGdiCanvas.DrawOval</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>x</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>y</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>w</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>h</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Brush&#160;</td>
<td class="paramname"><em>brush</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Pen&#160;</td>
<td class="paramname"><em>pen</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>shadow</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline, protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws an oval for the given parameters. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>X-coordinate of the shape.</td></tr>
<tr><td class="paramname">y</td><td>Y-coordinate of the shape.</td></tr>
<tr><td class="paramname">w</td><td>Width of the shape.</td></tr>
<tr><td class="paramname">h</td><td>Height of the shape.</td></tr>
<tr><td class="paramname">brush</td><td>Optional brush for painting the background.</td></tr>
<tr><td class="paramname">pen</td><td>Optional pen for painting the border.</td></tr>
<tr><td class="paramname">shadow</td><td>Boolean indicating if a shadow should be painted.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="aff764bbd9912eb131816a7b1f15edcf1"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawPath" ref="aff764bbd9912eb131816a7b1f15edcf1" args="(GraphicsPath path, Brush brush, Pen pen, bool shadow)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aff764bbd9912eb131816a7b1f15edcf1">com.mxgraph.mxGdiCanvas.DrawPath</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">GraphicsPath&#160;</td>
<td class="paramname"><em>path</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Brush&#160;</td>
<td class="paramname"><em>brush</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Pen&#160;</td>
<td class="paramname"><em>pen</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>shadow</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline, protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws a path for the given parameters. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">path</td><td>Path object to be drawn.</td></tr>
<tr><td class="paramname">brush</td><td>Optional brush for painting the background.</td></tr>
<tr><td class="paramname">pen</td><td>Optional pen for painting the border.</td></tr>
<tr><td class="paramname">shadow</td><td>Boolean indicating if a shadow should be painted.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a4bbdb94ede3359fb88b0c48b58cafc64"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawPolygon" ref="a4bbdb94ede3359fb88b0c48b58cafc64" args="(Point[] polygon, Brush brush, Pen pen, bool shadow)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a4bbdb94ede3359fb88b0c48b58cafc64">com.mxgraph.mxGdiCanvas.DrawPolygon</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Point[]&#160;</td>
<td class="paramname"><em>polygon</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Brush&#160;</td>
<td class="paramname"><em>brush</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Pen&#160;</td>
<td class="paramname"><em>pen</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>shadow</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline, protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws a a polygon for the given parameters. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">polygon</td><td>Points of the polygon.</td></tr>
<tr><td class="paramname">brush</td><td>Optional brush for painting the background.</td></tr>
<tr><td class="paramname">pen</td><td>Optional pen for painting the border.</td></tr>
<tr><td class="paramname">shadow</td><td>Boolean indicating if a shadow should be painted.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a377dad6cdf37032f38e6a37a1cc99c3a"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawRect" ref="a377dad6cdf37032f38e6a37a1cc99c3a" args="(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow, bool rounded)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a377dad6cdf37032f38e6a37a1cc99c3a">com.mxgraph.mxGdiCanvas.DrawRect</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>x</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>y</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>w</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>h</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Brush&#160;</td>
<td class="paramname"><em>brush</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Pen&#160;</td>
<td class="paramname"><em>pen</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>shadow</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>rounded</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline, protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws a rectangle for the given parameters. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>X-coordinate of the shape.</td></tr>
<tr><td class="paramname">y</td><td>Y-coordinate of the shape.</td></tr>
<tr><td class="paramname">w</td><td>Width of the shape.</td></tr>
<tr><td class="paramname">h</td><td>Height of the shape.</td></tr>
<tr><td class="paramname">brush</td><td>Optional brush for painting the background.</td></tr>
<tr><td class="paramname">pen</td><td>Optional pen for painting the border.</td></tr>
<tr><td class="paramname">shadow</td><td>Boolean indicating if a shadow should be painted.</td></tr>
<tr><td class="paramname">rounded</td><td>Boolean indicating if the rectangle is rounded.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="acad5b993f96aa9f1179db053b8a278a1"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawRhombus" ref="acad5b993f96aa9f1179db053b8a278a1" args="(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#acad5b993f96aa9f1179db053b8a278a1">com.mxgraph.mxGdiCanvas.DrawRhombus</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>x</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>y</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>w</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>h</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Brush&#160;</td>
<td class="paramname"><em>brush</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Pen&#160;</td>
<td class="paramname"><em>pen</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>shadow</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline, protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws an rhombus (aka. diamond) for the given parameters. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>X-coordinate of the shape.</td></tr>
<tr><td class="paramname">y</td><td>Y-coordinate of the shape.</td></tr>
<tr><td class="paramname">w</td><td>Width of the shape.</td></tr>
<tr><td class="paramname">h</td><td>Height of the shape.</td></tr>
<tr><td class="paramname">brush</td><td>Optional brush for painting the background.</td></tr>
<tr><td class="paramname">pen</td><td>Optional pen for painting the border.</td></tr>
<tr><td class="paramname">shadow</td><td>Boolean indicating if a shadow should be painted.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a916256e385f3996f715b5e0634733e93"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawShape" ref="a916256e385f3996f715b5e0634733e93" args="(int x, int y, int w, int h, Dictionary&lt; string, Object &gt; style)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a916256e385f3996f715b5e0634733e93">com.mxgraph.mxGdiCanvas.DrawShape</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>x</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>y</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>w</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>h</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Dictionary&lt; string, Object &gt;&#160;</td>
<td class="paramname"><em>style</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws the shape specified with the STYLE_SHAPE key in the given style. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>X-coordinate of the shape.</td></tr>
<tr><td class="paramname">y</td><td>Y-coordinate of the shape.</td></tr>
<tr><td class="paramname">w</td><td>Width of the shape.</td></tr>
<tr><td class="paramname">h</td><td>Height of the shape.</td></tr>
<tr><td class="paramname">style</td><td>Style of the the shape.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="aa3cbd5664957d03feb044be31d7f4140"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawText" ref="aa3cbd5664957d03feb044be31d7f4140" args="(string text, int x, int y, int w, int h, Dictionary&lt; string, Object &gt; style)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aa3cbd5664957d03feb044be31d7f4140">com.mxgraph.mxGdiCanvas.DrawText</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>text</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>x</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>y</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>w</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>h</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Dictionary&lt; string, Object &gt;&#160;</td>
<td class="paramname"><em>style</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws the specified text either using drawHtmlString or using drawString. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">text</td><td></td></tr>
<tr><td class="paramname">x</td><td>X-coordinate of the text.</td></tr>
<tr><td class="paramname">y</td><td>Y-coordinate of the text.</td></tr>
<tr><td class="paramname">w</td><td>Width of the text.</td></tr>
<tr><td class="paramname">h</td><td>Height of the text.</td></tr>
<tr><td class="paramname">style</td><td>Style to be used for painting the text.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="ad1d56706145d887515ad4ca5bfc968bb"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawTriangle" ref="ad1d56706145d887515ad4ca5bfc968bb" args="(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow, string direction)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#ad1d56706145d887515ad4ca5bfc968bb">com.mxgraph.mxGdiCanvas.DrawTriangle</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>x</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>y</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>w</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>h</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Brush&#160;</td>
<td class="paramname"><em>brush</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Pen&#160;</td>
<td class="paramname"><em>pen</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>shadow</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>direction</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline, protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws a triangle shape for the given parameters. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>X-coordinate of the shape.</td></tr>
<tr><td class="paramname">y</td><td>Y-coordinate of the shape.</td></tr>
<tr><td class="paramname">w</td><td>Width of the shape.</td></tr>
<tr><td class="paramname">h</td><td>Height of the shape.</td></tr>
<tr><td class="paramname">brush</td><td>Optional brush for painting the background.</td></tr>
<tr><td class="paramname">pen</td><td>Optional pen for painting the border.</td></tr>
<tr><td class="paramname">shadow</td><td>Boolean indicating if a shadow should be painted.</td></tr>
<tr><td class="paramname">direction</td><td>Specifies the direction of the triangle.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a16ab4a93c351e3f983286efe91b13d97"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::getArcSize" ref="a16ab4a93c351e3f983286efe91b13d97" args="(int w, int h)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">static int <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a16ab4a93c351e3f983286efe91b13d97">com.mxgraph.mxGdiCanvas.getArcSize</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>w</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>h</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline, static]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Computes the arc size for the given dimension. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">w</td><td>Width of the rectangle.</td></tr>
<tr><td class="paramname">h</td><td>Height of the rectangle.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the arc size for the given dimension.</dd></dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a942524aac27cba6b7269a6656e531683"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::LoadImage" ref="a942524aac27cba6b7269a6656e531683" args="(String image)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">Image <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a942524aac27cba6b7269a6656e531683">com.mxgraph.mxGdiCanvas.LoadImage</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>image</em></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns an image instance for the given URL. If the URL has been loaded before than an instance of the same instance is returned as in the previous call. </p>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="aae86eb9f2145a6c97729fbd45ac4a5dc"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::g" ref="aae86eb9f2145a6c97729fbd45ac4a5dc" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aea5c29449403b8dc069f3f2966767abc">Graphics</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aae86eb9f2145a6c97729fbd45ac4a5dc">com.mxgraph.mxGdiCanvas.g</a><code> [protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Global graphics handle to the image. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="aafa5f7ccb103b83dc69b6439d5f6494a"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::imageCache" ref="aafa5f7ccb103b83dc69b6439d5f6494a" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">Dictionary&lt;string, Image&gt; <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aafa5f7ccb103b83dc69b6439d5f6494a">com.mxgraph.mxGdiCanvas.imageCache</a> = new Dictionary&lt;string, Image&gt;()<code> [protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Cache for loading images. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a8ef97b9528ce5250c1083e6cb04f7142"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::PRESERVE_IMAGE_ASPECT" ref="a8ef97b9528ce5250c1083e6cb04f7142" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">bool <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a8ef97b9528ce5250c1083e6cb04f7142">com.mxgraph.mxGdiCanvas.PRESERVE_IMAGE_ASPECT</a> = true<code> [static]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Specifies if image aspect should be preserved in drawImage. </p>
</div>
</div>
<hr/><h2>Property Documentation</h2>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="aea5c29449403b8dc069f3f2966767abc"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::Graphics" ref="aea5c29449403b8dc069f3f2966767abc" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aea5c29449403b8dc069f3f2966767abc">Graphics</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aea5c29449403b8dc069f3f2966767abc">com.mxgraph.mxGdiCanvas.Graphics</a><code> [get, set]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets or gets the graphics object to paint the canvas. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/canvas/mxGdiCanvas.cs</li>
</ul>
2013-04-04 11:51:15 +00:00
</div><!-- contents -->
<hr class="footer"/><address class="footer"><small>
2013-09-25 12:02:54 +00:00
Generated on Wed Sep 25 2013 12:53:18 for mxGraph by &#160;<a href="http://www.doxygen.org/index.html">
2013-04-04 11:51:15 +00:00
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>
2012-05-21 20:32:26 +00:00
</body>
</html>