1770 lines
93 KiB
HTML
1770 lines
93 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"/>
|
|
<meta name="generator" content="Doxygen 1.8.6"/>
|
|
<title>mxGraph: com.mxgraph.mxGdiCanvas Class Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<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>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.6 -->
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main 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>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="namespacecom.html">com</a></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>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pub-static-methods">Static Public Member Functions</a> |
|
|
<a href="#pub-static-attribs">Static Public Attributes</a> |
|
|
<a href="#pro-methods">Protected Member Functions</a> |
|
|
<a href="#pro-attribs">Protected Attributes</a> |
|
|
<a href="#properties">Properties</a> |
|
|
<a href="classcom_1_1mxgraph_1_1mxGdiCanvas-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">com.mxgraph.mxGdiCanvas Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Implementation of a canvas that uses GDI for painting.
|
|
<a href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#details">More...</a></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for com.mxgraph.mxGdiCanvas:</div>
|
|
<div class="dyncontent">
|
|
<div class="center">
|
|
<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"/>
|
|
</map>
|
|
</div></div>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:aa9ae06c89d17b13fb171168419c90a83"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aa9ae06c89d17b13fb171168419c90a83">mxGdiCanvas</a> ()</td></tr>
|
|
<tr class="memdesc:aa9ae06c89d17b13fb171168419c90a83"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a new GDI canvas. <a href="#aa9ae06c89d17b13fb171168419c90a83">More...</a><br/></td></tr>
|
|
<tr class="separator:aa9ae06c89d17b13fb171168419c90a83"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9b5137b9a41060930584e6b089daa0eb"><td class="memItemLeft" align="right" valign="top"> </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 class="memdesc:a9b5137b9a41060930584e6b089daa0eb"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a new GDI canvas for the given graphics instance. <a href="#a9b5137b9a41060930584e6b089daa0eb">More...</a><br/></td></tr>
|
|
<tr class="separator:a9b5137b9a41060930584e6b089daa0eb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a76bd38ecebca3a73798ac61c58a5015c"><td class="memItemLeft" align="right" valign="top">override Object </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 class="memdesc:a76bd38ecebca3a73798ac61c58a5015c"><td class="mdescLeft"> </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">More...</a><br/></td></tr>
|
|
<tr class="separator:a76bd38ecebca3a73798ac61c58a5015c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a962325d7b89f75230f1e3fb991b5fe34"><td class="memItemLeft" align="right" valign="top">override Object </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 class="memdesc:a962325d7b89f75230f1e3fb991b5fe34"><td class="mdescLeft"> </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">More...</a><br/></td></tr>
|
|
<tr class="separator:a962325d7b89f75230f1e3fb991b5fe34"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a916256e385f3996f715b5e0634733e93"><td class="memItemLeft" align="right" valign="top">void </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< string, Object > style)</td></tr>
|
|
<tr class="memdesc:a916256e385f3996f715b5e0634733e93"><td class="mdescLeft"> </td><td class="mdescRight">Draws the shape specified with the STYLE_SHAPE key in the given style. <a href="#a916256e385f3996f715b5e0634733e93">More...</a><br/></td></tr>
|
|
<tr class="separator:a916256e385f3996f715b5e0634733e93"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3e760b411c7644732fc51bc3f4d2ab87"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a3e760b411c7644732fc51bc3f4d2ab87">DrawLine</a> (List< <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> > pts, Dictionary< string, Object > style)</td></tr>
|
|
<tr class="memdesc:a3e760b411c7644732fc51bc3f4d2ab87"><td class="mdescLeft"> </td><td class="mdescRight">Draws the given lines as segments between all points of the given list of mxPoints. <a href="#a3e760b411c7644732fc51bc3f4d2ab87">More...</a><br/></td></tr>
|
|
<tr class="separator:a3e760b411c7644732fc51bc3f4d2ab87"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a466473b288049a9481f6723b4e9a7ecf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> </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 class="memdesc:a466473b288049a9481f6723b4e9a7ecf"><td class="mdescLeft"> </td><td class="mdescRight">Draws the given type of marker. <a href="#a466473b288049a9481f6723b4e9a7ecf">More...</a><br/></td></tr>
|
|
<tr class="separator:a466473b288049a9481f6723b4e9a7ecf"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa3cbd5664957d03feb044be31d7f4140"><td class="memItemLeft" align="right" valign="top">void </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< string, Object > style)</td></tr>
|
|
<tr class="memdesc:aa3cbd5664957d03feb044be31d7f4140"><td class="mdescLeft"> </td><td class="mdescRight">Draws the specified text either using drawHtmlString or using drawString. <a href="#aa3cbd5664957d03feb044be31d7f4140">More...</a><br/></td></tr>
|
|
<tr class="separator:aa3cbd5664957d03feb044be31d7f4140"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aca014bd38921618cde63380cb23a5c4c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aca014bd38921618cde63380cb23a5c4c">Destroy</a> ()</td></tr>
|
|
<tr class="memdesc:aca014bd38921618cde63380cb23a5c4c"><td class="mdescLeft"> </td><td class="mdescRight">Destroys the canvas and frees all allocated resources. <a href="#aca014bd38921618cde63380cb23a5c4c">More...</a><br/></td></tr>
|
|
<tr class="separator:aca014bd38921618cde63380cb23a5c4c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
|
|
Static Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a16ab4a93c351e3f983286efe91b13d97"><td class="memItemLeft" align="right" valign="top">static int </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 class="memdesc:a16ab4a93c351e3f983286efe91b13d97"><td class="mdescLeft"> </td><td class="mdescRight">Computes the arc size for the given dimension. <a href="#a16ab4a93c351e3f983286efe91b13d97">More...</a><br/></td></tr>
|
|
<tr class="separator:a16ab4a93c351e3f983286efe91b13d97"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
|
|
Static Public Attributes</h2></td></tr>
|
|
<tr class="memitem:a8ef97b9528ce5250c1083e6cb04f7142"><td class="memItemLeft" align="right" valign="top">static bool </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 class="memdesc:a8ef97b9528ce5250c1083e6cb04f7142"><td class="mdescLeft"> </td><td class="mdescRight">Specifies if image aspect should be preserved in drawImage. <a href="#a8ef97b9528ce5250c1083e6cb04f7142">More...</a><br/></td></tr>
|
|
<tr class="separator:a8ef97b9528ce5250c1083e6cb04f7142"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pub_static_attribs_classcom_1_1mxgraph_1_1mxBasicCanvas"><td colspan="2" onclick="javascript:toggleInherit('pub_static_attribs_classcom_1_1mxgraph_1_1mxBasicCanvas')"><img src="closed.png" alt="-"/> Static Public Attributes inherited from <a class="el" href="classcom_1_1mxgraph_1_1mxBasicCanvas.html">com.mxgraph.mxBasicCanvas</a></td></tr>
|
|
<tr class="memitem:a845a6c57b10c117c3f64e68678536107 inherit pub_static_attribs_classcom_1_1mxgraph_1_1mxBasicCanvas"><td class="memItemLeft" align="right" valign="top">static string </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxBasicCanvas.html#a845a6c57b10c117c3f64e68678536107">DEFAULT_IMAGEBASEPATH</a> = ""</td></tr>
|
|
<tr class="memdesc:a845a6c57b10c117c3f64e68678536107 inherit pub_static_attribs_classcom_1_1mxgraph_1_1mxBasicCanvas"><td class="mdescLeft"> </td><td class="mdescRight">Defines the default value for the imageBasePath in all GDI canvases. Default is an empty string. <a href="#a845a6c57b10c117c3f64e68678536107">More...</a><br/></td></tr>
|
|
<tr class="separator:a845a6c57b10c117c3f64e68678536107 inherit pub_static_attribs_classcom_1_1mxgraph_1_1mxBasicCanvas"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
|
|
Protected Member Functions</h2></td></tr>
|
|
<tr class="memitem:a942524aac27cba6b7269a6656e531683"><td class="memItemLeft" align="right" valign="top">Image </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a942524aac27cba6b7269a6656e531683">LoadImage</a> (String image)</td></tr>
|
|
<tr class="memdesc:a942524aac27cba6b7269a6656e531683"><td class="mdescLeft"> </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">More...</a><br/></td></tr>
|
|
<tr class="separator:a942524aac27cba6b7269a6656e531683"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a81957cbbcb49169c9ec9c1ee29e9e06b"><td class="memItemLeft" align="right" valign="top">void </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< string, Object > style)</td></tr>
|
|
<tr class="memdesc:a81957cbbcb49169c9ec9c1ee29e9e06b"><td class="mdescLeft"> </td><td class="mdescRight">Draws the glass effect. <a href="#a81957cbbcb49169c9ec9c1ee29e9e06b">More...</a><br/></td></tr>
|
|
<tr class="separator:a81957cbbcb49169c9ec9c1ee29e9e06b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4bbdb94ede3359fb88b0c48b58cafc64"><td class="memItemLeft" align="right" valign="top">void </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 class="memdesc:a4bbdb94ede3359fb88b0c48b58cafc64"><td class="mdescLeft"> </td><td class="mdescRight">Draws a a polygon for the given parameters. <a href="#a4bbdb94ede3359fb88b0c48b58cafc64">More...</a><br/></td></tr>
|
|
<tr class="separator:a4bbdb94ede3359fb88b0c48b58cafc64"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aff764bbd9912eb131816a7b1f15edcf1"><td class="memItemLeft" align="right" valign="top">void </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 class="memdesc:aff764bbd9912eb131816a7b1f15edcf1"><td class="mdescLeft"> </td><td class="mdescRight">Draws a path for the given parameters. <a href="#aff764bbd9912eb131816a7b1f15edcf1">More...</a><br/></td></tr>
|
|
<tr class="separator:aff764bbd9912eb131816a7b1f15edcf1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a377dad6cdf37032f38e6a37a1cc99c3a"><td class="memItemLeft" align="right" valign="top">void </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 class="memdesc:a377dad6cdf37032f38e6a37a1cc99c3a"><td class="mdescLeft"> </td><td class="mdescRight">Draws a rectangle for the given parameters. <a href="#a377dad6cdf37032f38e6a37a1cc99c3a">More...</a><br/></td></tr>
|
|
<tr class="separator:a377dad6cdf37032f38e6a37a1cc99c3a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:add3063c9b977a0c7b8e3e1b3cb0b297f"><td class="memItemLeft" align="right" valign="top">void </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 class="memdesc:add3063c9b977a0c7b8e3e1b3cb0b297f"><td class="mdescLeft"> </td><td class="mdescRight">Draws an image for the given parameters. <a href="#add3063c9b977a0c7b8e3e1b3cb0b297f">More...</a><br/></td></tr>
|
|
<tr class="separator:add3063c9b977a0c7b8e3e1b3cb0b297f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5bf98a1ff57cb653822231dee6078bae"><td class="memItemLeft" align="right" valign="top">void </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 class="memdesc:a5bf98a1ff57cb653822231dee6078bae"><td class="mdescLeft"> </td><td class="mdescRight">Draws an image for the given parameters. <a href="#a5bf98a1ff57cb653822231dee6078bae">More...</a><br/></td></tr>
|
|
<tr class="separator:a5bf98a1ff57cb653822231dee6078bae"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6904a72d331fe8982f09ab4a0ba7bb4d"><td class="memItemLeft" align="right" valign="top">void </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 class="memdesc:a6904a72d331fe8982f09ab4a0ba7bb4d"><td class="mdescLeft"> </td><td class="mdescRight">Draws an oval for the given parameters. <a href="#a6904a72d331fe8982f09ab4a0ba7bb4d">More...</a><br/></td></tr>
|
|
<tr class="separator:a6904a72d331fe8982f09ab4a0ba7bb4d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acad5b993f96aa9f1179db053b8a278a1"><td class="memItemLeft" align="right" valign="top">void </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 class="memdesc:acad5b993f96aa9f1179db053b8a278a1"><td class="mdescLeft"> </td><td class="mdescRight">Draws an rhombus (aka. diamond) for the given parameters. <a href="#acad5b993f96aa9f1179db053b8a278a1">More...</a><br/></td></tr>
|
|
<tr class="separator:acad5b993f96aa9f1179db053b8a278a1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a585d7929f93afc8ea271f47988d5a1a6"><td class="memItemLeft" align="right" valign="top">void </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 class="memdesc:a585d7929f93afc8ea271f47988d5a1a6"><td class="mdescLeft"> </td><td class="mdescRight">Draws a cylinder for the given parameters. <a href="#a585d7929f93afc8ea271f47988d5a1a6">More...</a><br/></td></tr>
|
|
<tr class="separator:a585d7929f93afc8ea271f47988d5a1a6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7c4d17cc55ff4dc3a26c99bee2af011c"><td class="memItemLeft" align="right" valign="top">void </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 class="memdesc:a7c4d17cc55ff4dc3a26c99bee2af011c"><td class="mdescLeft"> </td><td class="mdescRight">Draws an actor shape for the given parameters. <a href="#a7c4d17cc55ff4dc3a26c99bee2af011c">More...</a><br/></td></tr>
|
|
<tr class="separator:a7c4d17cc55ff4dc3a26c99bee2af011c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:abc935a5e1a3e1f5c1bf6e758ffe2dcd4"><td class="memItemLeft" align="right" valign="top">void </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 class="memdesc:abc935a5e1a3e1f5c1bf6e758ffe2dcd4"><td class="mdescLeft"> </td><td class="mdescRight">Draws a cloud shape for the given parameters. <a href="#abc935a5e1a3e1f5c1bf6e758ffe2dcd4">More...</a><br/></td></tr>
|
|
<tr class="separator:abc935a5e1a3e1f5c1bf6e758ffe2dcd4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad1d56706145d887515ad4ca5bfc968bb"><td class="memItemLeft" align="right" valign="top">void </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 class="memdesc:ad1d56706145d887515ad4ca5bfc968bb"><td class="mdescLeft"> </td><td class="mdescRight">Draws a triangle shape for the given parameters. <a href="#ad1d56706145d887515ad4ca5bfc968bb">More...</a><br/></td></tr>
|
|
<tr class="separator:ad1d56706145d887515ad4ca5bfc968bb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2142bfede33384b19a696af91381f1c7"><td class="memItemLeft" align="right" valign="top">void </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 class="memdesc:a2142bfede33384b19a696af91381f1c7"><td class="mdescLeft"> </td><td class="mdescRight">Draws a hexagon shape for the given parameters. <a href="#a2142bfede33384b19a696af91381f1c7">More...</a><br/></td></tr>
|
|
<tr class="separator:a2142bfede33384b19a696af91381f1c7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pro_methods_classcom_1_1mxgraph_1_1mxBasicCanvas"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classcom_1_1mxgraph_1_1mxBasicCanvas')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classcom_1_1mxgraph_1_1mxBasicCanvas.html">com.mxgraph.mxBasicCanvas</a></td></tr>
|
|
<tr class="memitem:ac456dc7e33e5013277435b671cbd5ca3 inherit pro_methods_classcom_1_1mxgraph_1_1mxBasicCanvas"><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxBasicCanvas.html#ac456dc7e33e5013277435b671cbd5ca3">GetImageForStyle</a> (Dictionary< string, Object > style)</td></tr>
|
|
<tr class="memdesc:ac456dc7e33e5013277435b671cbd5ca3 inherit pro_methods_classcom_1_1mxgraph_1_1mxBasicCanvas"><td class="mdescLeft"> </td><td class="mdescRight">Gets the image path from the given style. If the path is relative (does not start with a slash) then it is appended to the imageBasePath. <a href="#ac456dc7e33e5013277435b671cbd5ca3">More...</a><br/></td></tr>
|
|
<tr class="separator:ac456dc7e33e5013277435b671cbd5ca3 inherit pro_methods_classcom_1_1mxgraph_1_1mxBasicCanvas"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
|
|
Protected Attributes</h2></td></tr>
|
|
<tr class="memitem:aafa5f7ccb103b83dc69b6439d5f6494a"><td class="memItemLeft" align="right" valign="top">Dictionary< string, Image > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aafa5f7ccb103b83dc69b6439d5f6494a">imageCache</a> = new Dictionary<string, Image>()</td></tr>
|
|
<tr class="memdesc:aafa5f7ccb103b83dc69b6439d5f6494a"><td class="mdescLeft"> </td><td class="mdescRight">Cache for loading images. <a href="#aafa5f7ccb103b83dc69b6439d5f6494a">More...</a><br/></td></tr>
|
|
<tr class="separator:aafa5f7ccb103b83dc69b6439d5f6494a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aae86eb9f2145a6c97729fbd45ac4a5dc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aea5c29449403b8dc069f3f2966767abc">Graphics</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aae86eb9f2145a6c97729fbd45ac4a5dc">g</a></td></tr>
|
|
<tr class="memdesc:aae86eb9f2145a6c97729fbd45ac4a5dc"><td class="mdescLeft"> </td><td class="mdescRight">Global graphics handle to the image. <a href="#aae86eb9f2145a6c97729fbd45ac4a5dc">More...</a><br/></td></tr>
|
|
<tr class="separator:aae86eb9f2145a6c97729fbd45ac4a5dc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pro_attribs_classcom_1_1mxgraph_1_1mxBasicCanvas"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classcom_1_1mxgraph_1_1mxBasicCanvas')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classcom_1_1mxgraph_1_1mxBasicCanvas.html">com.mxgraph.mxBasicCanvas</a></td></tr>
|
|
<tr class="memitem:a74388fd782b7572a8bb9083f6cf88b4b inherit pro_attribs_classcom_1_1mxgraph_1_1mxBasicCanvas"><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxBasicCanvas.html#a74388fd782b7572a8bb9083f6cf88b4b">imageBasePath</a> = <a class="el" href="classcom_1_1mxgraph_1_1mxBasicCanvas.html#a845a6c57b10c117c3f64e68678536107">DEFAULT_IMAGEBASEPATH</a></td></tr>
|
|
<tr class="memdesc:a74388fd782b7572a8bb9083f6cf88b4b inherit pro_attribs_classcom_1_1mxgraph_1_1mxBasicCanvas"><td class="mdescLeft"> </td><td class="mdescRight">Defines the base path for images with relative paths. Trailing slash is required. Default value is DEFAULT_IMAGEBASEPATH. <a href="#a74388fd782b7572a8bb9083f6cf88b4b">More...</a><br/></td></tr>
|
|
<tr class="separator:a74388fd782b7572a8bb9083f6cf88b4b inherit pro_attribs_classcom_1_1mxgraph_1_1mxBasicCanvas"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2673993cd3f9dbc20f4f270d517f2f9d inherit pro_attribs_classcom_1_1mxgraph_1_1mxBasicCanvas"><td class="memItemLeft" align="right" valign="top">Point </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxBasicCanvas.html#a2673993cd3f9dbc20f4f270d517f2f9d">translate</a> = new Point(0, 0)</td></tr>
|
|
<tr class="memdesc:a2673993cd3f9dbc20f4f270d517f2f9d inherit pro_attribs_classcom_1_1mxgraph_1_1mxBasicCanvas"><td class="mdescLeft"> </td><td class="mdescRight">Specifies the current translation. Default is (0,0). <a href="#a2673993cd3f9dbc20f4f270d517f2f9d">More...</a><br/></td></tr>
|
|
<tr class="separator:a2673993cd3f9dbc20f4f270d517f2f9d inherit pro_attribs_classcom_1_1mxgraph_1_1mxBasicCanvas"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a87ae22b03150a396473764ea6e560712 inherit pro_attribs_classcom_1_1mxgraph_1_1mxBasicCanvas"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxBasicCanvas.html#a87ae22b03150a396473764ea6e560712">scale</a></td></tr>
|
|
<tr class="memdesc:a87ae22b03150a396473764ea6e560712 inherit pro_attribs_classcom_1_1mxgraph_1_1mxBasicCanvas"><td class="mdescLeft"> </td><td class="mdescRight">Specifies the current scale. Default is 1. <a href="#a87ae22b03150a396473764ea6e560712">More...</a><br/></td></tr>
|
|
<tr class="separator:a87ae22b03150a396473764ea6e560712 inherit pro_attribs_classcom_1_1mxgraph_1_1mxBasicCanvas"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a49655bf82a4191de7b47d6a18d7244aa inherit pro_attribs_classcom_1_1mxgraph_1_1mxBasicCanvas"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxBasicCanvas.html#a49655bf82a4191de7b47d6a18d7244aa">drawLabels</a> = true</td></tr>
|
|
<tr class="memdesc:a49655bf82a4191de7b47d6a18d7244aa inherit pro_attribs_classcom_1_1mxgraph_1_1mxBasicCanvas"><td class="mdescLeft"> </td><td class="mdescRight">Specifies whether labels should be painted. Default is true. <a href="#a49655bf82a4191de7b47d6a18d7244aa">More...</a><br/></td></tr>
|
|
<tr class="separator:a49655bf82a4191de7b47d6a18d7244aa inherit pro_attribs_classcom_1_1mxgraph_1_1mxBasicCanvas"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
|
|
Properties</h2></td></tr>
|
|
<tr class="memitem:aea5c29449403b8dc069f3f2966767abc"><td class="memItemLeft" align="right" valign="top">Graphics </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 class="memdesc:aea5c29449403b8dc069f3f2966767abc"><td class="mdescLeft"> </td><td class="mdescRight">Sets or gets the graphics object to paint the canvas. <a href="#aea5c29449403b8dc069f3f2966767abc">More...</a><br/></td></tr>
|
|
<tr class="separator:aea5c29449403b8dc069f3f2966767abc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header properties_classcom_1_1mxgraph_1_1mxBasicCanvas"><td colspan="2" onclick="javascript:toggleInherit('properties_classcom_1_1mxgraph_1_1mxBasicCanvas')"><img src="closed.png" alt="-"/> Properties inherited from <a class="el" href="classcom_1_1mxgraph_1_1mxBasicCanvas.html">com.mxgraph.mxBasicCanvas</a></td></tr>
|
|
<tr class="memitem:a3ef2ee08e5a075274841476d119354ea inherit properties_classcom_1_1mxgraph_1_1mxBasicCanvas"><td class="memItemLeft" align="right" valign="top">Point </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxBasicCanvas.html#a3ef2ee08e5a075274841476d119354ea">Translate</a><code> [get, set]</code></td></tr>
|
|
<tr class="memdesc:a3ef2ee08e5a075274841476d119354ea inherit properties_classcom_1_1mxgraph_1_1mxBasicCanvas"><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas.html#a64c4a0b2c985c41c6338a894b79d3a87" title="Sets or returns the user object of the cell. ">com.mxgraph.mxICanvas.Translate</a> <a href="#a3ef2ee08e5a075274841476d119354ea">More...</a><br/></td></tr>
|
|
<tr class="separator:a3ef2ee08e5a075274841476d119354ea inherit properties_classcom_1_1mxgraph_1_1mxBasicCanvas"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a49d54a42504a7e093693f41ddb33f85f inherit properties_classcom_1_1mxgraph_1_1mxBasicCanvas"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxBasicCanvas.html#a49d54a42504a7e093693f41ddb33f85f">Scale</a><code> [get, set]</code></td></tr>
|
|
<tr class="memdesc:a49d54a42504a7e093693f41ddb33f85f inherit properties_classcom_1_1mxgraph_1_1mxBasicCanvas"><td class="mdescLeft"> </td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas.html#a5b01b41f8e91b566071590db46590f0b" title="Sets or returns the user object of the cell. ">com.mxgraph.mxICanvas.Scale</a> <a href="#a49d54a42504a7e093693f41ddb33f85f">More...</a><br/></td></tr>
|
|
<tr class="separator:a49d54a42504a7e093693f41ddb33f85f inherit properties_classcom_1_1mxgraph_1_1mxBasicCanvas"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3c77fbc9dc6414cad89eeb61efece6e5 inherit properties_classcom_1_1mxgraph_1_1mxBasicCanvas"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxBasicCanvas.html#a3c77fbc9dc6414cad89eeb61efece6e5">DrawLabels</a><code> [get, set]</code></td></tr>
|
|
<tr class="memdesc:a3c77fbc9dc6414cad89eeb61efece6e5 inherit properties_classcom_1_1mxgraph_1_1mxBasicCanvas"><td class="mdescLeft"> </td><td class="mdescRight">Sets if labels should be visible. <a href="#a3c77fbc9dc6414cad89eeb61efece6e5">More...</a><br/></td></tr>
|
|
<tr class="separator:a3c77fbc9dc6414cad89eeb61efece6e5 inherit properties_classcom_1_1mxgraph_1_1mxBasicCanvas"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aec37e006e0983a1de63fa9a38abfc49f inherit properties_classcom_1_1mxgraph_1_1mxBasicCanvas"><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxBasicCanvas.html#aec37e006e0983a1de63fa9a38abfc49f">ImageBasePath</a><code> [get, set]</code></td></tr>
|
|
<tr class="memdesc:aec37e006e0983a1de63fa9a38abfc49f inherit properties_classcom_1_1mxgraph_1_1mxBasicCanvas"><td class="mdescLeft"> </td><td class="mdescRight">Sets or gets the image base path. <a href="#aec37e006e0983a1de63fa9a38abfc49f">More...</a><br/></td></tr>
|
|
<tr class="separator:aec37e006e0983a1de63fa9a38abfc49f inherit properties_classcom_1_1mxgraph_1_1mxBasicCanvas"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header properties_interfacecom_1_1mxgraph_1_1mxICanvas"><td colspan="2" onclick="javascript:toggleInherit('properties_interfacecom_1_1mxgraph_1_1mxICanvas')"><img src="closed.png" alt="-"/> Properties inherited from <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas.html">com.mxgraph.mxICanvas</a></td></tr>
|
|
<tr class="memitem:a64c4a0b2c985c41c6338a894b79d3a87 inherit properties_interfacecom_1_1mxgraph_1_1mxICanvas"><td class="memItemLeft" align="right" valign="top">Point </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas.html#a64c4a0b2c985c41c6338a894b79d3a87">Translate</a><code> [get, set]</code></td></tr>
|
|
<tr class="memdesc:a64c4a0b2c985c41c6338a894b79d3a87 inherit properties_interfacecom_1_1mxgraph_1_1mxICanvas"><td class="mdescLeft"> </td><td class="mdescRight">Sets or returns the user object of the cell. <a href="#a64c4a0b2c985c41c6338a894b79d3a87">More...</a><br/></td></tr>
|
|
<tr class="separator:a64c4a0b2c985c41c6338a894b79d3a87 inherit properties_interfacecom_1_1mxgraph_1_1mxICanvas"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5b01b41f8e91b566071590db46590f0b inherit properties_interfacecom_1_1mxgraph_1_1mxICanvas"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas.html#a5b01b41f8e91b566071590db46590f0b">Scale</a><code> [get, set]</code></td></tr>
|
|
<tr class="memdesc:a5b01b41f8e91b566071590db46590f0b inherit properties_interfacecom_1_1mxgraph_1_1mxICanvas"><td class="mdescLeft"> </td><td class="mdescRight">Sets or returns the user object of the cell. <a href="#a5b01b41f8e91b566071590db46590f0b">More...</a><br/></td></tr>
|
|
<tr class="separator:a5b01b41f8e91b566071590db46590f0b inherit properties_interfacecom_1_1mxgraph_1_1mxICanvas"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>Implementation of a canvas that uses GDI for painting. </p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" id="aa9ae06c89d17b13fb171168419c90a83"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">com.mxgraph.mxGdiCanvas.mxGdiCanvas </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Constructs a new GDI canvas. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9b5137b9a41060930584e6b089daa0eb"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">com.mxgraph.mxGdiCanvas.mxGdiCanvas </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aea5c29449403b8dc069f3f2966767abc">Graphics</a> </td>
|
|
<td class="paramname"><em>g</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Constructs a new GDI canvas for the given graphics instance. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a class="anchor" id="aca014bd38921618cde63380cb23a5c4c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com.mxgraph.mxGdiCanvas.Destroy </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Destroys the canvas and frees all allocated resources. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7c4d17cc55ff4dc3a26c99bee2af011c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com.mxgraph.mxGdiCanvas.DrawActor </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>x</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>y</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>w</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>h</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Brush </td>
|
|
<td class="paramname"><em>brush</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Pen </td>
|
|
<td class="paramname"><em>pen</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>shadow</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Draws an actor shape for the given parameters. </p>
|
|
<dl class="params"><dt>Parameters</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>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a76bd38ecebca3a73798ac61c58a5015c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">override Object com.mxgraph.mxGdiCanvas.DrawCell </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> </td>
|
|
<td class="paramname"><em>state</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas.html#a2b9d62b6b658833c5455b3e79807e73a" title="Draws the given cell. ">com.mxgraph.mxICanvas.DrawCell()</a> </p>
|
|
|
|
<p>Implements <a class="el" href="classcom_1_1mxgraph_1_1mxBasicCanvas.html#ab8d6ec57958c57bfc796e3404fdf9816">com.mxgraph.mxBasicCanvas</a>.</p>
|
|
|
|
<p>References <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#ab22620dc09f4ea87d1e6d091d28db3b2">com.mxgraph.mxCellState.AbsolutePointCount()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a83abc5af3503a67998ef1f01dd0be8ff">com.mxgraph.mxCellState.AbsolutePoints</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a67af58074d8d5b02973725482c4ef938">com.mxgraph.mxConstants.DEFAULT_STARTSIZE</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a8023d2240d233b8f754fb5c0ecdd644f">com.mxgraph.mxUtils.GetDouble()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#ab1faf80201d6e2755ed97f947f3fb0e8">com.mxgraph.mxUtils.IsTrue()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#aba1b6c4d32841935d40e60115f5d6475">com.mxgraph.mxConstants.SHAPE_SWIMLANE</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a002377ed3ad55948c810468fac404b11">com.mxgraph.mxConstants.STYLE_HORIZONTAL</a>, and <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a046ac11f80e4f5f83a791d2a20830399">com.mxgraph.mxConstants.STYLE_STARTSIZE</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="abc935a5e1a3e1f5c1bf6e758ffe2dcd4"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com.mxgraph.mxGdiCanvas.DrawCloud </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>x</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>y</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>w</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>h</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Brush </td>
|
|
<td class="paramname"><em>brush</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Pen </td>
|
|
<td class="paramname"><em>pen</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>shadow</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Draws a cloud shape for the given parameters. </p>
|
|
<dl class="params"><dt>Parameters</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>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a585d7929f93afc8ea271f47988d5a1a6"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com.mxgraph.mxGdiCanvas.DrawCylinder </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>x</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>y</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>w</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>h</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Brush </td>
|
|
<td class="paramname"><em>brush</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Pen </td>
|
|
<td class="paramname"><em>pen</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>shadow</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Draws a cylinder for the given parameters. </p>
|
|
<dl class="params"><dt>Parameters</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>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a81957cbbcb49169c9ec9c1ee29e9e06b"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com.mxgraph.mxGdiCanvas.DrawGlassEffect </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>x</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>y</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>w</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>h</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Dictionary< string, Object > </td>
|
|
<td class="paramname"><em>style</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Draws the glass effect. </p>
|
|
|
|
<p>References <a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a3a77064a2057c43a1c90d01a5cd92022">com.mxgraph.mxUtils.GetFloat()</a>, and <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a5d16158d8a4b70d1f42fe1d5571e2041">com.mxgraph.mxConstants.STYLE_STROKEWIDTH</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2142bfede33384b19a696af91381f1c7"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com.mxgraph.mxGdiCanvas.DrawHexagon </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>x</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>y</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>w</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>h</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Brush </td>
|
|
<td class="paramname"><em>brush</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Pen </td>
|
|
<td class="paramname"><em>pen</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>shadow</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">string </td>
|
|
<td class="paramname"><em>direction</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Draws a hexagon shape for the given parameters. </p>
|
|
<dl class="params"><dt>Parameters</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>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#ac9e5d0176e0933144ca7f770ffdf9262">com.mxgraph.mxConstants.DIRECTION_NORTH</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="add3063c9b977a0c7b8e3e1b3cb0b297f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com.mxgraph.mxGdiCanvas.DrawImage </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>x</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>y</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>w</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>h</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">String </td>
|
|
<td class="paramname"><em>image</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Draws an image for the given parameters. </p>
|
|
<dl class="params"><dt>Parameters</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>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5bf98a1ff57cb653822231dee6078bae"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com.mxgraph.mxGdiCanvas.DrawImage </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>x</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>y</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>w</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>h</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">String </td>
|
|
<td class="paramname"><em>image</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>preserveAspect</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>flipH</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>flipV</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Draws an image for the given parameters. </p>
|
|
<dl class="params"><dt>Parameters</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>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a962325d7b89f75230f1e3fb991b5fe34"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">override Object com.mxgraph.mxGdiCanvas.DrawLabel </td>
|
|
<td>(</td>
|
|
<td class="paramtype">string </td>
|
|
<td class="paramname"><em>text</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> </td>
|
|
<td class="paramname"><em>state</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>html</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas.html#a81915e5bda4641165f93ac7b9177fae8" title="Draws the given label. ">com.mxgraph.mxICanvas.DrawLabel()</a> </p>
|
|
|
|
<p>Implements <a class="el" href="classcom_1_1mxgraph_1_1mxBasicCanvas.html#acc1d4e9e83ced1b5b70d1097b53aade4">com.mxgraph.mxBasicCanvas</a>.</p>
|
|
|
|
<p>References <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html#a198cd246c4fa1315d6cc737585ada909">com.mxgraph.mxRectangle.GetRectangle()</a>, and <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a0d097480311f00c4c835f5103a9da3af">com.mxgraph.mxCellState.LabelBounds</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3e760b411c7644732fc51bc3f4d2ab87"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com.mxgraph.mxGdiCanvas.DrawLine </td>
|
|
<td>(</td>
|
|
<td class="paramtype">List< <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> > </td>
|
|
<td class="paramname"><em>pts</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Dictionary< string, Object > </td>
|
|
<td class="paramname"><em>style</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Draws the given lines as segments between all points of the given list of mxPoints. </p>
|
|
<dl class="params"><dt>Parameters</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>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a0a57df2bd4e27bd313544b7f32a3310a">com.mxgraph.mxConstants.DEFAULT_MARKERSIZE</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#ae8a5354264b690827237b057535bf402">com.mxgraph.mxConstants.DIRECTION_EAST</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#ac9e5d0176e0933144ca7f770ffdf9262">com.mxgraph.mxConstants.DIRECTION_NORTH</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a7d8e6bde0f89e37f8314f3001a1bfaac">com.mxgraph.mxConstants.DIRECTION_SOUTH</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#ab1184058d0760c97dc3af5248a119774">com.mxgraph.mxConstants.DIRECTION_WEST</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#a3a77064a2057c43a1c90d01a5cd92022">com.mxgraph.mxUtils.GetFloat()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#ab1faf80201d6e2755ed97f947f3fb0e8">com.mxgraph.mxUtils.IsTrue()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a49e8f39c8b9cbd26a2539d8285aafcc1">com.mxgraph.mxConstants.SHAPE_ARROW</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#ac00c61f096a62afc7b252642d5c8cb49">com.mxgraph.mxConstants.STYLE_DASHED</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a5cd2ed163a685e864ead154f9dc14b0c">com.mxgraph.mxConstants.STYLE_ENDSIZE</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a046ac11f80e4f5f83a791d2a20830399">com.mxgraph.mxConstants.STYLE_STARTSIZE</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html#a33540da347ee0a5b4c06c787ab6d0b85">com.mxgraph.mxPoint.X</a>, and <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html#ab11a2fa8c8ef7d3d3727feb60ce75a50">com.mxgraph.mxPoint.Y</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a466473b288049a9481f6723b4e9a7ecf"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> com.mxgraph.mxGdiCanvas.DrawMarker </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>type</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> </td>
|
|
<td class="paramname"><em>p0</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> </td>
|
|
<td class="paramname"><em>pe</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">float </td>
|
|
<td class="paramname"><em>size</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Pen </td>
|
|
<td class="paramname"><em>pen</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Draws the given type of marker. </p>
|
|
<dl class="params"><dt>Parameters</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>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
|
|
|
|
<p>References <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a0a80c6a1c7abc361729f071171491a01">com.mxgraph.mxConstants.ARROW_BLOCK</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a3f64e5db7c3b2cfc8b4d4c7f90fc72a2">com.mxgraph.mxConstants.ARROW_CLASSIC</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#aebd803b3f2d924b8f8ce752bd090617c">com.mxgraph.mxConstants.ARROW_DIAMOND</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a99a2955973e74ef04d717b7621024eb7">com.mxgraph.mxConstants.ARROW_OPEN</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a3125ef5ae59fd737dafdab94302f86f1">com.mxgraph.mxConstants.ARROW_OVAL</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html#a936c837c4eb0dfeeb3de5c7ab3df4ccd">com.mxgraph.mxPoint.Clone()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html#a33540da347ee0a5b4c06c787ab6d0b85">com.mxgraph.mxPoint.X</a>, and <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html#ab11a2fa8c8ef7d3d3727feb60ce75a50">com.mxgraph.mxPoint.Y</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6904a72d331fe8982f09ab4a0ba7bb4d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com.mxgraph.mxGdiCanvas.DrawOval </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>x</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>y</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>w</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>h</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Brush </td>
|
|
<td class="paramname"><em>brush</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Pen </td>
|
|
<td class="paramname"><em>pen</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>shadow</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Draws an oval for the given parameters. </p>
|
|
<dl class="params"><dt>Parameters</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>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a17f9561c3209a2343a9d19c3bd0f4676">com.mxgraph.mxConstants.SHADOWCOLOR</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aff764bbd9912eb131816a7b1f15edcf1"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com.mxgraph.mxGdiCanvas.DrawPath </td>
|
|
<td>(</td>
|
|
<td class="paramtype">GraphicsPath </td>
|
|
<td class="paramname"><em>path</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Brush </td>
|
|
<td class="paramname"><em>brush</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Pen </td>
|
|
<td class="paramname"><em>pen</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>shadow</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Draws a path for the given parameters. </p>
|
|
<dl class="params"><dt>Parameters</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>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a17f9561c3209a2343a9d19c3bd0f4676">com.mxgraph.mxConstants.SHADOWCOLOR</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4bbdb94ede3359fb88b0c48b58cafc64"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com.mxgraph.mxGdiCanvas.DrawPolygon </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Point[] </td>
|
|
<td class="paramname"><em>polygon</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Brush </td>
|
|
<td class="paramname"><em>brush</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Pen </td>
|
|
<td class="paramname"><em>pen</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>shadow</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Draws a a polygon for the given parameters. </p>
|
|
<dl class="params"><dt>Parameters</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>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a17f9561c3209a2343a9d19c3bd0f4676">com.mxgraph.mxConstants.SHADOWCOLOR</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a377dad6cdf37032f38e6a37a1cc99c3a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com.mxgraph.mxGdiCanvas.DrawRect </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>x</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>y</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>w</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>h</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Brush </td>
|
|
<td class="paramname"><em>brush</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Pen </td>
|
|
<td class="paramname"><em>pen</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>shadow</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>rounded</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Draws a rectangle for the given parameters. </p>
|
|
<dl class="params"><dt>Parameters</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>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a17f9561c3209a2343a9d19c3bd0f4676">com.mxgraph.mxConstants.SHADOWCOLOR</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="acad5b993f96aa9f1179db053b8a278a1"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com.mxgraph.mxGdiCanvas.DrawRhombus </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>x</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>y</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>w</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>h</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Brush </td>
|
|
<td class="paramname"><em>brush</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Pen </td>
|
|
<td class="paramname"><em>pen</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>shadow</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Draws an rhombus (aka. diamond) for the given parameters. </p>
|
|
<dl class="params"><dt>Parameters</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>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a916256e385f3996f715b5e0634733e93"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com.mxgraph.mxGdiCanvas.DrawShape </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>x</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>y</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>w</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>h</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Dictionary< string, Object > </td>
|
|
<td class="paramname"><em>style</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Draws the shape specified with the STYLE_SHAPE key in the given style. </p>
|
|
<dl class="params"><dt>Parameters</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>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#ac3a65a37f08c797cac437376b34e939a">com.mxgraph.mxConstants.ALIGN_BOTTOM</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#ad9fba8b1122c34dd3ed23fbf5cd78628">com.mxgraph.mxConstants.ALIGN_CENTER</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#aff94bbc3de9d279f18c1a6f562912bc3">com.mxgraph.mxConstants.ALIGN_RIGHT</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a21bd50fd57c44a7192acf33c1488302c">com.mxgraph.mxConstants.ALIGN_TOP</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#ac430f312344038a78b92f583cc5a6bc3">com.mxgraph.mxConstants.DEFAULT_IMAGESIZE</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#ae8a5354264b690827237b057535bf402">com.mxgraph.mxConstants.DIRECTION_EAST</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#ac9e5d0176e0933144ca7f770ffdf9262">com.mxgraph.mxConstants.DIRECTION_NORTH</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#ab1184058d0760c97dc3af5248a119774">com.mxgraph.mxConstants.DIRECTION_WEST</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#aae3b0a48e48c6f2f92f90b4b38d068a1">com.mxgraph.mxUtils.GetInt()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxUtils.html#ab1faf80201d6e2755ed97f947f3fb0e8">com.mxgraph.mxUtils.IsTrue()</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a354157564f0242612e031f7c7be46625">com.mxgraph.mxConstants.SHAPE_ACTOR</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#addba4d11195b736e11460bd4b754a65c">com.mxgraph.mxConstants.SHAPE_CLOUD</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a18f53e55ee1511a78aa71399b9fd76a5">com.mxgraph.mxConstants.SHAPE_CYLINDER</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a2d83f1457ed9184de767a96cdc5bc8a8">com.mxgraph.mxConstants.SHAPE_DOUBLE_ELLIPSE</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#ab29056ccc58283b6489b63a571317d74">com.mxgraph.mxConstants.SHAPE_ELLIPSE</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#aa239d8b411d6d20fc97ec9049ebbc6e0">com.mxgraph.mxConstants.SHAPE_HEXAGON</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#ab999bd8a8fd3a0817c8d6fca2aebd80e">com.mxgraph.mxConstants.SHAPE_LABEL</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a0d98e55a2f0f36fb3ade72572c415e7e">com.mxgraph.mxConstants.SHAPE_LINE</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a2becf44f022cb16f2a71cde3e47cac51">com.mxgraph.mxConstants.SHAPE_RHOMBUS</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a281383bb43e67effe9015a68e7e586c5">com.mxgraph.mxConstants.SHAPE_TRIANGLE</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#ac00c61f096a62afc7b252642d5c8cb49">com.mxgraph.mxConstants.STYLE_DASHED</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a6d11e69d13d7ffee03f96bedceb63df9">com.mxgraph.mxConstants.STYLE_FILLCOLOR</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#aa49ecb1f5b36d0c1b938f98abfff5087">com.mxgraph.mxConstants.STYLE_GLASS</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#aea6d24049a53797ae99b4b24f72b4c1a">com.mxgraph.mxConstants.STYLE_IMAGE_BACKGROUND</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#ab028bbe647a64568041285728edd924c">com.mxgraph.mxConstants.STYLE_IMAGE_HEIGHT</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a00599d736211bbc01b27621e51346dff">com.mxgraph.mxConstants.STYLE_IMAGE_WIDTH</a>, and <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a3db92308715dd7df621a27e0c1a0de36">com.mxgraph.mxConstants.STYLE_SPACING</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa3cbd5664957d03feb044be31d7f4140"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com.mxgraph.mxGdiCanvas.DrawText </td>
|
|
<td>(</td>
|
|
<td class="paramtype">string </td>
|
|
<td class="paramname"><em>text</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>x</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>y</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>w</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>h</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Dictionary< string, Object > </td>
|
|
<td class="paramname"><em>style</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Draws the specified text either using drawHtmlString or using drawString. </p>
|
|
<dl class="params"><dt>Parameters</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>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad1d56706145d887515ad4ca5bfc968bb"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com.mxgraph.mxGdiCanvas.DrawTriangle </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>x</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>y</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>w</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>h</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Brush </td>
|
|
<td class="paramname"><em>brush</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Pen </td>
|
|
<td class="paramname"><em>pen</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>shadow</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">string </td>
|
|
<td class="paramname"><em>direction</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Draws a triangle shape for the given parameters. </p>
|
|
<dl class="params"><dt>Parameters</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>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#ac9e5d0176e0933144ca7f770ffdf9262">com.mxgraph.mxConstants.DIRECTION_NORTH</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#a7d8e6bde0f89e37f8314f3001a1bfaac">com.mxgraph.mxConstants.DIRECTION_SOUTH</a>, and <a class="el" href="classcom_1_1mxgraph_1_1mxConstants.html#ab1184058d0760c97dc3af5248a119774">com.mxgraph.mxConstants.DIRECTION_WEST</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a16ab4a93c351e3f983286efe91b13d97"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static int com.mxgraph.mxGdiCanvas.getArcSize </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>w</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>h</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Computes the arc size for the given dimension. </p>
|
|
<dl class="params"><dt>Parameters</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>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Returns the arc size for the given dimension.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a942524aac27cba6b7269a6656e531683"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Image com.mxgraph.mxGdiCanvas.LoadImage </td>
|
|
<td>(</td>
|
|
<td class="paramtype">String </td>
|
|
<td class="paramname"><em>image</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </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>
|
|
<h2 class="groupheader">Member Data Documentation</h2>
|
|
<a class="anchor" id="aae86eb9f2145a6c97729fbd45ac4a5dc"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aea5c29449403b8dc069f3f2966767abc">Graphics</a> com.mxgraph.mxGdiCanvas.g</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Global graphics handle to the image. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aafa5f7ccb103b83dc69b6439d5f6494a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Dictionary<string, Image> com.mxgraph.mxGdiCanvas.imageCache = new Dictionary<string, Image>()</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Cache for loading images. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8ef97b9528ce5250c1083e6cb04f7142"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool com.mxgraph.mxGdiCanvas.PRESERVE_IMAGE_ASPECT = true</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Specifies if image aspect should be preserved in drawImage. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Property Documentation</h2>
|
|
<a class="anchor" id="aea5c29449403b8dc069f3f2966767abc"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Graphics com.mxgraph.mxGdiCanvas.Graphics</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Sets or gets the graphics object to paint the canvas. </p>
|
|
|
|
<p>Referenced by <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#ab08b09e495521067d8088c576b9ec816">com.mxgraph.mxStencil.CreateCanvas()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
|
<li>src/canvas/mxGdiCanvas.cs</li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Tue May 19 2015 11:03:36 for mxGraph by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.6
|
|
</small></address>
|
|
</body>
|
|
</html>
|