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

181 lines
9.8 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>mxGraph: com::mxgraph::mxICanvas Interface Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
<div class="navpath"><b>com</b>::<b>mxgraph</b>::<a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas.html">mxICanvas</a>
</div>
</div>
<div class="contents">
<h1>com::mxgraph::mxICanvas Interface Reference</h1><!-- doxytag: class="com::mxgraph::mxICanvas" -->
<p>Defines the requirements for a canvas that paints the vertices and edges of a graph.
<a href="#_details">More...</a></p>
<div class="dynheader">
Inheritance diagram for com::mxgraph::mxICanvas:</div>
<div class="dynsection">
<div class="center">
<img src="interfacecom_1_1mxgraph_1_1mxICanvas.png" usemap="#com::mxgraph::mxICanvas_map" alt=""/>
<map id="com::mxgraph::mxICanvas_map" name="com::mxgraph::mxICanvas_map">
<area href="classcom_1_1mxgraph_1_1mxBasicCanvas.html" alt="com::mxgraph::mxBasicCanvas" shape="rect" coords="0,56,186,80"/>
<area href="classcom_1_1mxgraph_1_1mxImageCanvas.html" alt="com::mxgraph::mxImageCanvas" shape="rect" coords="196,56,382,80"/>
<area href="classcom_1_1mxgraph_1_1mxGdiCanvas.html" alt="com::mxgraph::mxGdiCanvas" shape="rect" coords="0,112,186,136"/>
</map>
</div>
</div>
<p><a href="interfacecom_1_1mxgraph_1_1mxICanvas-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Object&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas.html#ad6a830f2b73a62cc62dd56353a20976f">DrawCell</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> state)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws the given cell. <a href="#ad6a830f2b73a62cc62dd56353a20976f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Object&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas.html#a21514c420483b391edb7a482c88f5a79">DrawLabel</a> (string text, <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> state, bool html)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws the given label. <a href="#a21514c420483b391edb7a482c88f5a79"></a><br/></td></tr>
<tr><td colspan="2"><h2>Properties</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Point&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas.html#ad811ebd65f646526f01f63db8f023488">Translate</a><code> [get, set]</code></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets or returns the user object of the cell. <a href="#ad811ebd65f646526f01f63db8f023488"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas.html#ab393f94448d87517dae0133e57100045">Scale</a><code> [get, set]</code></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets or returns the user object of the cell. <a href="#ab393f94448d87517dae0133e57100045"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Defines the requirements for a canvas that paints the vertices and edges of a graph. </p>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ad6a830f2b73a62cc62dd56353a20976f"></a><!-- doxytag: member="com::mxgraph::mxICanvas::DrawCell" ref="ad6a830f2b73a62cc62dd56353a20976f" args="(mxCellState state)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Object com::mxgraph::mxICanvas::DrawCell </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&nbsp;</td>
<td class="paramname"> <em>state</em></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws the given cell. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>state</em>&nbsp;</td><td>State of the cell to be painted.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Object that represents the vertex.</dd></dl>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxBasicCanvas.html#ae3632533a1518faf4a0283e31e40bb6f">com::mxgraph::mxBasicCanvas</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a8d7fa4bb190ff786d64bf4b08a3d1c24">com::mxgraph::mxGdiCanvas</a>, and <a class="el" href="classcom_1_1mxgraph_1_1mxImageCanvas.html#a141e199ea658499f9ee7cb614312de73">com::mxgraph::mxImageCanvas</a>.</p>
</div>
</div>
<a class="anchor" id="a21514c420483b391edb7a482c88f5a79"></a><!-- doxytag: member="com::mxgraph::mxICanvas::DrawLabel" ref="a21514c420483b391edb7a482c88f5a79" args="(string text, mxCellState state, bool html)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Object com::mxgraph::mxICanvas::DrawLabel </td>
<td>(</td>
<td class="paramtype">string&nbsp;</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>&nbsp;</td>
<td class="paramname"> <em>state</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>html</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws the given label. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>String that represents the label.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>state</em>&nbsp;</td><td>State of the cell whose label is to be painted.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>html</em>&nbsp;</td><td>Specifies if the label contains HTML markup.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Object that represents the label.</dd></dl>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxBasicCanvas.html#a105ec52cceacc015399516e8451248b2">com::mxgraph::mxBasicCanvas</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a0f874cdb7c36e7ea41f8c5099d598c8b">com::mxgraph::mxGdiCanvas</a>, and <a class="el" href="classcom_1_1mxgraph_1_1mxImageCanvas.html#a8009e58f10e849bc7bb8fb0b22b9d67e">com::mxgraph::mxImageCanvas</a>.</p>
</div>
</div>
<hr/><h2>Property Documentation</h2>
<a class="anchor" id="ab393f94448d87517dae0133e57100045"></a><!-- doxytag: member="com::mxgraph::mxICanvas::Scale" ref="ab393f94448d87517dae0133e57100045" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double com::mxgraph::mxICanvas::Scale<code> [get, set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets or returns the user object of the cell. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxBasicCanvas.html#ace635b44380cd9079dcb359c366bbf64">com::mxgraph::mxBasicCanvas</a>, and <a class="el" href="classcom_1_1mxgraph_1_1mxImageCanvas.html#a32476a0f95314df5178d7336fde35349">com::mxgraph::mxImageCanvas</a>.</p>
</div>
</div>
<a class="anchor" id="ad811ebd65f646526f01f63db8f023488"></a><!-- doxytag: member="com::mxgraph::mxICanvas::Translate" ref="ad811ebd65f646526f01f63db8f023488" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Point com::mxgraph::mxICanvas::Translate<code> [get, set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets or returns the user object of the cell. </p>
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxBasicCanvas.html#ab95273a90d8165c4925b4141754bc730">com::mxgraph::mxBasicCanvas</a>, and <a class="el" href="classcom_1_1mxgraph_1_1mxImageCanvas.html#a2267bc84051cea13c3285d29804b8fc7">com::mxgraph::mxImageCanvas</a>.</p>
</div>
</div>
<hr/>The documentation for this interface was generated from the following file:<ul>
<li>src/canvas/mxICanvas.cs</li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Fri Jul 20 11:32:31 2012 for mxGraph by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>