maxGraph/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCe...

220 lines
11 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::mxCellRenderer Class 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="classcom_1_1mxgraph_1_1mxCellRenderer.html">mxCellRenderer</a>
</div>
</div>
<div class="contents">
<h1>com::mxgraph::mxCellRenderer Class Reference</h1><!-- doxytag: class="com::mxgraph::mxCellRenderer" -->
<p>Class that can draw an independent array of cells.
<a href="#_details">More...</a></p>
<p><a href="classcom_1_1mxgraph_1_1mxCellRenderer-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellRenderer_1_1CanvasFactory.html">CanvasFactory</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Defines the requirements for a class that can create canvases. <a href="classcom_1_1mxgraph_1_1mxCellRenderer_1_1CanvasFactory.html#_details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellRenderer_1_1ImageCanvasFactory.html">ImageCanvasFactory</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">FIXME: Use anonymous class in CreateImage with invocation parameters in factory method code. <a href="classcom_1_1mxgraph_1_1mxCellRenderer_1_1ImageCanvasFactory.html#_details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas.html">mxICanvas</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellRenderer.html#a2008e95a7cd828b21771613316fe8f37">DrawCells</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html">mxGraph</a> graph, Object[] cells, double scale, <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> clip, <a class="el" href="classcom_1_1mxgraph_1_1mxCellRenderer_1_1CanvasFactory.html">CanvasFactory</a> factory)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws the given cells using a Graphics2D canvas and returns the buffered image that represents the cells. <a href="#a2008e95a7cd828b21771613316fe8f37"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static Image&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellRenderer.html#ac494a984bd69e39b6ec2cf79cc49ca44">CreateImage</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html">mxGraph</a> graph, Object[] cells, double scale, Color?background, bool antiAlias, <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> clip)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates an image for the given arguments. <a href="#ac494a984bd69e39b6ec2cf79cc49ca44"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static Image&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellRenderer.html#afc487aac0fb7931ae14c2e0c0d62704b">CreateImage</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html">mxGraph</a> graph, Object[] cells, double scale, Color?background, bool antiAlias, <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> clip, <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html">mxGdiCanvas</a> graphicsCanvas)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates an image for the given arguments. <a href="#afc487aac0fb7931ae14c2e0c0d62704b"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Class that can draw an independent array of cells. </p>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="afc487aac0fb7931ae14c2e0c0d62704b"></a><!-- doxytag: member="com::mxgraph::mxCellRenderer::CreateImage" ref="afc487aac0fb7931ae14c2e0c0d62704b" args="(mxGraph graph, Object[] cells, double scale, Color?background, bool antiAlias, mxRectangle clip, mxGdiCanvas graphicsCanvas)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static Image com::mxgraph::mxCellRenderer::CreateImage </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html">mxGraph</a>&nbsp;</td>
<td class="paramname"> <em>graph</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Object[]&nbsp;</td>
<td class="paramname"> <em>cells</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>scale</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Color?&nbsp;</td>
<td class="paramname"> <em>background</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>antiAlias</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a>&nbsp;</td>
<td class="paramname"> <em>clip</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html">mxGdiCanvas</a>&nbsp;</td>
<td class="paramname"> <em>graphicsCanvas</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline, static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Creates an image for the given arguments. </p>
</div>
</div>
<a class="anchor" id="ac494a984bd69e39b6ec2cf79cc49ca44"></a><!-- doxytag: member="com::mxgraph::mxCellRenderer::CreateImage" ref="ac494a984bd69e39b6ec2cf79cc49ca44" args="(mxGraph graph, Object[] cells, double scale, Color?background, bool antiAlias, mxRectangle clip)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static Image com::mxgraph::mxCellRenderer::CreateImage </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html">mxGraph</a>&nbsp;</td>
<td class="paramname"> <em>graph</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Object[]&nbsp;</td>
<td class="paramname"> <em>cells</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>scale</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Color?&nbsp;</td>
<td class="paramname"> <em>background</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>antiAlias</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a>&nbsp;</td>
<td class="paramname"> <em>clip</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline, static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Creates an image for the given arguments. </p>
</div>
</div>
<a class="anchor" id="a2008e95a7cd828b21771613316fe8f37"></a><!-- doxytag: member="com::mxgraph::mxCellRenderer::DrawCells" ref="a2008e95a7cd828b21771613316fe8f37" args="(mxGraph graph, Object[] cells, double scale, mxRectangle clip, CanvasFactory factory)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas.html">mxICanvas</a> com::mxgraph::mxCellRenderer::DrawCells </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html">mxGraph</a>&nbsp;</td>
<td class="paramname"> <em>graph</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Object[]&nbsp;</td>
<td class="paramname"> <em>cells</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>scale</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a>&nbsp;</td>
<td class="paramname"> <em>clip</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellRenderer_1_1CanvasFactory.html">CanvasFactory</a>&nbsp;</td>
<td class="paramname"> <em>factory</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline, static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws the given cells using a Graphics2D canvas and returns the buffered image that represents the cells. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/utils/mxCellRenderer.cs</li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Wed Jun 6 13:45:13 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>