<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Constructs a new GDI canvas for the given graphics instance. <ahref="#a90acc90de62813c3b24bba07ab0c84f8"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">see <aclass="el"href="interfacecom_1_1mxgraph_1_1mxICanvas.html#ad6a830f2b73a62cc62dd56353a20976f"title="Draws the given cell.">com.mxgraph.mxICanvas.DrawCell()</a><ahref="#a8d7fa4bb190ff786d64bf4b08a3d1c24"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">see <aclass="el"href="interfacecom_1_1mxgraph_1_1mxICanvas.html#a21514c420483b391edb7a482c88f5a79"title="Draws the given label.">com.mxgraph.mxICanvas.DrawLabel()</a><ahref="#a0f874cdb7c36e7ea41f8c5099d598c8b"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#add14dc3bfb5bf6b79f39f3683562de5d">DrawShape</a> (int x, int y, int w, int h, Dictionary< string, Object > style)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Draws the shape specified with the STYLE_SHAPE key in the given style. <ahref="#add14dc3bfb5bf6b79f39f3683562de5d"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Draws the given lines as segments between all points of the given list of mxPoints. <ahref="#a4364c3768a269869b078890cd7341397"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Draws the given type of marker. <ahref="#a21d332b458c681d0af7492d679722bb3"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a4ef438995740da54702f38b343bd99f6">DrawText</a> (string text, int x, int y, int w, int h, Dictionary< string, Object > style)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Draws the specified text either using drawHtmlString or using drawString. <ahref="#a4ef438995740da54702f38b343bd99f6"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Destroys the canvas and frees all allocated resources. <ahref="#a4e953fd9c08480d3bf94ab9a4cfa5ee5"></a><br/></td></tr>
<tr><tdcolspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top">static int </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#abc62e1f0350b94362408ba2a3ef206fe">getArcSize</a> (int w, int h)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Computes the arc size for the given dimension. <ahref="#abc62e1f0350b94362408ba2a3ef206fe"></a><br/></td></tr>
<tr><tdcolspan="2"><h2>Static Public Attributes</h2></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Specifies if image aspect should be preserved in drawImage. <ahref="#aa2aeea2c29b35fbd1e9c101d0299f466"></a><br/></td></tr>
<tr><tdcolspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="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. <ahref="#a691ee852a7a0fe38907842e405d7e20a"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#af37625a04f9f7d8ed9da18f102b5aeb5">DrawGlassEffect</a> (int x, int y, int w, int h, Dictionary< string, Object > style)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Draws the glass effect. <ahref="#af37625a04f9f7d8ed9da18f102b5aeb5"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Draws a a polygon for the given parameters. <ahref="#abaf2255b6c98e42889e870439ef0fc26"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Draws a path for the given parameters. <ahref="#a3a68ca8e3f7a86021498925900927b79"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#ac5f846defe137723729aef143f7d1259">DrawRect</a> (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow, bool rounded)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Draws a rectangle for the given parameters. <ahref="#ac5f846defe137723729aef143f7d1259"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#abe12b70a40a05bb43d4d06559a28e020">DrawImage</a> (int x, int y, int w, int h, String image)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Draws an image for the given parameters. <ahref="#abe12b70a40a05bb43d4d06559a28e020"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#acf425d50d39e240b84152f5548848d36">DrawImage</a> (int x, int y, int w, int h, String image, bool preserveAspect, bool flipH, bool flipV)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Draws an image for the given parameters. <ahref="#acf425d50d39e240b84152f5548848d36"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a06a77b51925696ff6d2f4702e71b9af1">DrawOval</a> (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Draws an oval for the given parameters. <ahref="#a06a77b51925696ff6d2f4702e71b9af1"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a000fc6507f6faf2afa3665ce0936acd7">DrawRhombus</a> (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Draws an rhombus (aka. diamond) for the given parameters. <ahref="#a000fc6507f6faf2afa3665ce0936acd7"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#ab29840b550d4e8e7ce810756e31bd253">DrawCylinder</a> (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Draws a cylinder for the given parameters. <ahref="#ab29840b550d4e8e7ce810756e31bd253"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aafd04d8ceb82b55fc66d9e981ca50cb2">DrawActor</a> (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Draws an actor shape for the given parameters. <ahref="#aafd04d8ceb82b55fc66d9e981ca50cb2"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a0b728e530315de862d80ad5084c0adbf">DrawCloud</a> (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Draws a cloud shape for the given parameters. <ahref="#a0b728e530315de862d80ad5084c0adbf"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a3c467a694ed0b8dd1577befaa3d853fa">DrawTriangle</a> (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow, string direction)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Draws a triangle shape for the given parameters. <ahref="#a3c467a694ed0b8dd1577befaa3d853fa"></a><br/></td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#abd6590a03ffb103ce52e56c7efba53df">DrawHexagon</a> (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow, string direction)</td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Draws a hexagon shape for the given parameters. <ahref="#abd6590a03ffb103ce52e56c7efba53df"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Global graphics handle to the image. <ahref="#a85bc82f5001ec06221efb9bccc70e84d"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Sets or gets the graphics object to paint the canvas. <ahref="#aa478f6bf5a460b175342e1b61c321ec2"></a><br/></td></tr>
<p>Destroys the canvas and frees all allocated resources. </p>
</div>
</div>
<aclass="anchor"id="aafd04d8ceb82b55fc66d9e981ca50cb2"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawActor" ref="aafd04d8ceb82b55fc66d9e981ca50cb2" args="(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)" -->
<p>see <aclass="el"href="interfacecom_1_1mxgraph_1_1mxICanvas.html#ad6a830f2b73a62cc62dd56353a20976f"title="Draws the given cell.">com.mxgraph.mxICanvas.DrawCell()</a></p>
<aclass="anchor"id="a0b728e530315de862d80ad5084c0adbf"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawCloud" ref="a0b728e530315de862d80ad5084c0adbf" args="(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)" -->
<p>Draws a cloud shape for the given parameters. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<tableborder="0"cellspacing="2"cellpadding="0">
<tr><tdvalign="top"></td><tdvalign="top"><em>x</em> </td><td>X-coordinate of the shape.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>y</em> </td><td>Y-coordinate of the shape.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>w</em> </td><td>Width of the shape.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>h</em> </td><td>Height of the shape.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>brush</em> </td><td>Optional brush for painting the background.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>pen</em> </td><td>Optional pen for painting the border.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>shadow</em> </td><td>Boolean indicating if a shadow should be painted.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<aclass="anchor"id="ab29840b550d4e8e7ce810756e31bd253"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawCylinder" ref="ab29840b550d4e8e7ce810756e31bd253" args="(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)" -->
<p>Draws a cylinder for the given parameters. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<tableborder="0"cellspacing="2"cellpadding="0">
<tr><tdvalign="top"></td><tdvalign="top"><em>x</em> </td><td>X-coordinate of the shape.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>y</em> </td><td>Y-coordinate of the shape.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>w</em> </td><td>Width of the shape.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>h</em> </td><td>Height of the shape.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>brush</em> </td><td>Optional brush for painting the background.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>pen</em> </td><td>Optional pen for painting the border.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>shadow</em> </td><td>Boolean indicating if a shadow should be painted.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<aclass="anchor"id="af37625a04f9f7d8ed9da18f102b5aeb5"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawGlassEffect" ref="af37625a04f9f7d8ed9da18f102b5aeb5" args="(int x, int y, int w, int h, Dictionary< string, Object > style)" -->
<tr><tdvalign="top"></td><tdvalign="top"><em>x</em> </td><td>X-coordinate of the image.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>y</em> </td><td>Y-coordinate of the image.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>w</em> </td><td>Width of the image.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>h</em> </td><td>Height of the image.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>image</em> </td><td>URL of the image.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<aclass="anchor"id="abe12b70a40a05bb43d4d06559a28e020"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawImage" ref="abe12b70a40a05bb43d4d06559a28e020" args="(int x, int y, int w, int h, String image)" -->
<p>see <aclass="el"href="interfacecom_1_1mxgraph_1_1mxICanvas.html#a21514c420483b391edb7a482c88f5a79"title="Draws the given label.">com.mxgraph.mxICanvas.DrawLabel()</a></p>
<aclass="anchor"id="a06a77b51925696ff6d2f4702e71b9af1"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawOval" ref="a06a77b51925696ff6d2f4702e71b9af1" args="(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)" -->
<p>Draws a rectangle for the given parameters. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<tableborder="0"cellspacing="2"cellpadding="0">
<tr><tdvalign="top"></td><tdvalign="top"><em>x</em> </td><td>X-coordinate of the shape.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>y</em> </td><td>Y-coordinate of the shape.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>w</em> </td><td>Width of the shape.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>h</em> </td><td>Height of the shape.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>brush</em> </td><td>Optional brush for painting the background.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>pen</em> </td><td>Optional pen for painting the border.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>shadow</em> </td><td>Boolean indicating if a shadow should be painted.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>rounded</em> </td><td>Boolean indicating if the rectangle is rounded.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<aclass="anchor"id="a000fc6507f6faf2afa3665ce0936acd7"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawRhombus" ref="a000fc6507f6faf2afa3665ce0936acd7" args="(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)" -->
<p>Draws an rhombus (aka. diamond) for the given parameters. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<tableborder="0"cellspacing="2"cellpadding="0">
<tr><tdvalign="top"></td><tdvalign="top"><em>x</em> </td><td>X-coordinate of the shape.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>y</em> </td><td>Y-coordinate of the shape.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>w</em> </td><td>Width of the shape.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>h</em> </td><td>Height of the shape.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>brush</em> </td><td>Optional brush for painting the background.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>pen</em> </td><td>Optional pen for painting the border.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>shadow</em> </td><td>Boolean indicating if a shadow should be painted.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<aclass="anchor"id="add14dc3bfb5bf6b79f39f3683562de5d"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawShape" ref="add14dc3bfb5bf6b79f39f3683562de5d" args="(int x, int y, int w, int h, Dictionary< string, Object > style)" -->
<p>Draws the shape specified with the STYLE_SHAPE key in the given style. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<tableborder="0"cellspacing="2"cellpadding="0">
<tr><tdvalign="top"></td><tdvalign="top"><em>x</em> </td><td>X-coordinate of the shape.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>y</em> </td><td>Y-coordinate of the shape.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>w</em> </td><td>Width of the shape.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>h</em> </td><td>Height of the shape.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>style</em> </td><td>Style of the the shape.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<aclass="anchor"id="a4ef438995740da54702f38b343bd99f6"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawText" ref="a4ef438995740da54702f38b343bd99f6" args="(string text, int x, int y, int w, int h, Dictionary< string, Object > style)" -->
<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>