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

267 lines
12 KiB
HTML
Raw Normal View History

2012-05-21 20:32:26 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
2013-04-04 11:51:15 +00:00
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>mxGraph: com.mxgraph.mxCellRenderer Class Reference</title>
2012-05-21 20:32:26 +00:00
<link href="tabs.css" rel="stylesheet" type="text/css"/>
2013-04-04 11:51:15 +00:00
<link href="doxygen.css" rel="stylesheet" type="text/css" />
2012-05-21 20:32:26 +00:00
</head>
<body>
2013-04-04 11:51:15 +00:00
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">mxGraph
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.6.1 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
2012-05-21 20:32:26 +00:00
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
2013-04-04 11:51:15 +00:00
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
2012-05-21 20:32:26 +00:00
</ul>
</div>
2013-04-04 11:51:15 +00:00
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><b>com</b> </li>
<li class="navelem"><a class="el" href="namespacecom_1_1mxgraph.html">mxgraph</a> </li>
<li class="navelem"><a class="el" href="classcom_1_1mxgraph_1_1mxCellRenderer.html">mxCellRenderer</a> </li>
</ul>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> </div>
<div class="headertitle">
<div class="title">com.mxgraph.mxCellRenderer Class Reference</div> </div>
</div><!--header-->
2012-05-21 20:32:26 +00:00
<div class="contents">
2013-04-04 11:51:15 +00:00
<!-- doxytag: class="com::mxgraph::mxCellRenderer" -->
2012-05-21 20:32:26 +00:00
<p>Class that can draw an independent array of cells.
2013-04-04 11:51:15 +00:00
<a href="classcom_1_1mxgraph_1_1mxCellRenderer.html#details">More...</a></p>
2012-05-21 20:32:26 +00:00
<p><a href="classcom_1_1mxgraph_1_1mxCellRenderer-members.html">List of all members.</a></p>
2013-04-04 11:51:15 +00:00
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</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">&#160;</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 &#160;</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">&#160;</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><a name="pub-static-methods"></a>
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>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellRenderer.html#a8f95923014a03b5b06adb1928b2450c7">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">&#160;</td><td class="mdescRight">Draws the given cells using a Graphics2D canvas and returns the buffered image that represents the cells. <a href="#a8f95923014a03b5b06adb1928b2450c7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static Image&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellRenderer.html#a6586df761c102fcf4e1eaac46a811b58">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">&#160;</td><td class="mdescRight">Creates an image for the given arguments. <a href="#a6586df761c102fcf4e1eaac46a811b58"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static Image&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellRenderer.html#a597250c90cc06b8a481c3cc8a88461b3">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">&#160;</td><td class="mdescRight">Creates an image for the given arguments. <a href="#a597250c90cc06b8a481c3cc8a88461b3"></a><br/></td></tr>
2012-05-21 20:32:26 +00:00
</table>
2013-04-04 11:51:15 +00:00
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Class that can draw an independent array of cells. </p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a6586df761c102fcf4e1eaac46a811b58"></a><!-- doxytag: member="com::mxgraph::mxCellRenderer::CreateImage" ref="a6586df761c102fcf4e1eaac46a811b58" args="(mxGraph graph, Object[] cells, double scale, Color?background, bool antiAlias, mxRectangle clip)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">static Image <a class="el" href="classcom_1_1mxgraph_1_1mxCellRenderer.html#a6586df761c102fcf4e1eaac46a811b58">com.mxgraph.mxCellRenderer.CreateImage</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html">mxGraph</a>&#160;</td>
<td class="paramname"><em>graph</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Object[]&#160;</td>
<td class="paramname"><em>cells</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>scale</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Color?&#160;</td>
<td class="paramname"><em>background</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>antiAlias</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a>&#160;</td>
<td class="paramname"><em>clip</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline, static]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Creates an image for the given arguments. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a597250c90cc06b8a481c3cc8a88461b3"></a><!-- doxytag: member="com::mxgraph::mxCellRenderer::CreateImage" ref="a597250c90cc06b8a481c3cc8a88461b3" args="(mxGraph graph, Object[] cells, double scale, Color?background, bool antiAlias, mxRectangle clip, mxGdiCanvas graphicsCanvas)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">static Image <a class="el" href="classcom_1_1mxgraph_1_1mxCellRenderer.html#a6586df761c102fcf4e1eaac46a811b58">com.mxgraph.mxCellRenderer.CreateImage</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html">mxGraph</a>&#160;</td>
<td class="paramname"><em>graph</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Object[]&#160;</td>
<td class="paramname"><em>cells</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>scale</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Color?&#160;</td>
<td class="paramname"><em>background</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>antiAlias</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a>&#160;</td>
<td class="paramname"><em>clip</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html">mxGdiCanvas</a>&#160;</td>
<td class="paramname"><em>graphicsCanvas</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline, static]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Creates an image for the given arguments. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a8f95923014a03b5b06adb1928b2450c7"></a><!-- doxytag: member="com::mxgraph::mxCellRenderer::DrawCells" ref="a8f95923014a03b5b06adb1928b2450c7" args="(mxGraph graph, Object[] cells, double scale, mxRectangle clip, CanvasFactory factory)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">static <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas.html">mxICanvas</a> <a class="el" href="classcom_1_1mxgraph_1_1mxCellRenderer.html#a8f95923014a03b5b06adb1928b2450c7">com.mxgraph.mxCellRenderer.DrawCells</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html">mxGraph</a>&#160;</td>
<td class="paramname"><em>graph</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Object[]&#160;</td>
<td class="paramname"><em>cells</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>scale</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a>&#160;</td>
<td class="paramname"><em>clip</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellRenderer_1_1CanvasFactory.html">CanvasFactory</a>&#160;</td>
<td class="paramname"><em>factory</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline, static]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>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>
2013-04-04 11:51:15 +00:00
</div><!-- contents -->
<hr class="footer"/><address class="footer"><small>
2013-07-30 06:18:50 +00:00
Generated on Tue Jul 30 2013 07:03:55 for mxGraph by &#160;<a href="http://www.doxygen.org/index.html">
2013-04-04 11:51:15 +00:00
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>
2012-05-21 20:32:26 +00:00
</body>
</html>