maxGraph/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSt...

816 lines
40 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.mxStencil 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_1mxStencil.html">mxStencil</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="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#properties">Properties</a> </div>
<div class="headertitle">
<div class="title">com.mxgraph.mxStencil 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::mxStencil" -->
<p>Implements a stencil for the given XML definition. This class implements the <a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html" title="Implements a graph object that allows to create diagrams from a graph model and stylesheet.">mxGraph</a> stencil schema.
<a href="classcom_1_1mxgraph_1_1mxStencil.html#details">More...</a></p>
2012-05-21 20:32:26 +00:00
<p><a href="classcom_1_1mxgraph_1_1mxStencil-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="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a9a3e194541fd82b01ff4fcbbcc9383e1">mxStencil</a> (XmlElement description)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a new stencil for the given <a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html" title="Implements a graph object that allows to create diagrams from a graph model and stylesheet.">mxGraph</a> shape description. <a href="#a9a3e194541fd82b01ff4fcbbcc9383e1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a4b18427a4798e1a211ab066ffe87d9b0">PaintShape</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html">mxGdiCanvas</a> gc, <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> state)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Paints the stencil for the given state. <a href="#a4b18427a4798e1a211ab066ffe87d9b0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a3f5d08565604c84c226eb0f2e9476ec4">DrawShape</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html">mxGdiCanvas2D</a> canvas, <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> state, <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> bounds, bool background)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a056f25bce3d72128057d4419903686f7">EvaluateAttribute</a> (XmlElement elt, string attribute, <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> state)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the attribute for the given name from the given node. If the attribute. <a href="#a056f25bce3d72128057d4419903686f7"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html">mxGdiCanvas2D</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#ab08b09e495521067d8088c576b9ec816">CreateCanvas</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html">mxGdiCanvas</a> gc)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates the canvas for rendering the stencil. <a href="#ab08b09e495521067d8088c576b9ec816"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a4f25038a9d486fb405a0cb9690f4f397">DrawShadow</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html">mxGdiCanvas2D</a> canvas, <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> state, double rotation, bool flipH, bool flipV, <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> bounds, double alpha, bool filled)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws the shadow. <a href="#a4f25038a9d486fb405a0cb9690f4f397"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a956dc34d95917dc47745e78ad3dcecb7">ComputeAspect</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> state, <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> bounds, string direction)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a rectangle that contains the offset in x and y and the horizontal. <a href="#a956dc34d95917dc47745e78ad3dcecb7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a66ab838c70de20b1c3c77331a59fdfcd">DrawElement</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html">mxGdiCanvas2D</a> canvas, <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> state, XmlElement node, <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#afb914f8768998287488c3242a989baeb">aspect</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a8e6ed6df5d200069e6c768c72f92ffcf">GetInt</a> (XmlElement elt, string attribute, int defaultValue)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a227b9ae8fb6d125af96741700281d487">GetDouble</a> (XmlElement elt, String attribute)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a592f1da290fbefd4549759804d575fb0">GetDouble</a> (XmlElement elt, String attribute, double defaultValue)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a070067f7c6af1cd8fbd0e551be8ea9c3">GetString</a> (XmlElement elt, string attribute, string defaultValue)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the given attribute or the default value. <a href="#a070067f7c6af1cd8fbd0e551be8ea9c3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a1ae722ee30f082feb4b952ddd4031fef">ParseDescription</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">XmlElement&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a3686186a94c527a23832834f77682d97">desc</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Holds the top-level node of the stencil definition. <a href="#a3686186a94c527a23832834f77682d97"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#afb914f8768998287488c3242a989baeb">aspect</a> = null</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Holds the aspect of the shape. Default is "auto". <a href="#afb914f8768998287488c3242a989baeb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a589e1860a6d044ffe2be81949cbd4350">w0</a> = 100</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Holds the width of the shape. Default is 100. <a href="#a589e1860a6d044ffe2be81949cbd4350"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#acc54c063764dfd33142985002bb446c0">h0</a> = 100</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Holds the height of the shape. Default is 100. <a href="#acc54c063764dfd33142985002bb446c0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">XmlElement&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a9d06782dd986393e1a9bd71c4270d630">bgNode</a> = null</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Holds the XML node with the stencil description. <a href="#a9d06782dd986393e1a9bd71c4270d630"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">XmlElement&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a2fbce9a57a026fccb17645c5ee987587">fgNode</a> = null</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Holds the XML node with the stencil description. <a href="#a2fbce9a57a026fccb17645c5ee987587"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a3f46b35eb0587d9e19e229cd92c13b61">strokewidth</a> = null</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Holds the strokewidth direction from the description. <a href="#a3f46b35eb0587d9e19e229cd92c13b61"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#ac6812dff1f66d3e8d6dc2fcbcd63b7ed">lastMoveX</a> = 0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Holds the last x-position of the cursor. <a href="#ac6812dff1f66d3e8d6dc2fcbcd63b7ed"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a3459a073e17a2a60619b36c2cfb40278">lastMoveY</a> = 0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Holds the last y-position of the cursor. <a href="#a3459a073e17a2a60619b36c2cfb40278"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="properties"></a>
Properties</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">XmlElement&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a109c096ba8c99ea2bab062b79dd50d35">Description</a><code> [get, set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets or returns the description. <a href="#a109c096ba8c99ea2bab062b79dd50d35"></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>Implements a stencil for the given XML definition. This class implements the <a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html" title="Implements a graph object that allows to create diagrams from a graph model and stylesheet.">mxGraph</a> stencil schema. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a9a3e194541fd82b01ff4fcbbcc9383e1"></a><!-- doxytag: member="com::mxgraph::mxStencil::mxStencil" ref="a9a3e194541fd82b01ff4fcbbcc9383e1" args="(XmlElement description)" -->
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"><a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a9a3e194541fd82b01ff4fcbbcc9383e1">com.mxgraph.mxStencil.mxStencil</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">XmlElement&#160;</td>
<td class="paramname"><em>description</em></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
2013-04-04 11:51:15 +00:00
<p>Constructs a new stencil for the given <a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html" title="Implements a graph object that allows to create diagrams from a graph model and stylesheet.">mxGraph</a> shape description. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">description</td><td></td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a956dc34d95917dc47745e78ad3dcecb7"></a><!-- doxytag: member="com::mxgraph::mxStencil::ComputeAspect" ref="a956dc34d95917dc47745e78ad3dcecb7" args="(mxCellState state, mxRectangle bounds, string direction)" -->
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"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a956dc34d95917dc47745e78ad3dcecb7">com.mxgraph.mxStencil.ComputeAspect</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_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>state</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>bounds</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">string&#160;</td>
<td class="paramname"><em>direction</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, protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns a rectangle that contains the offset in x and y and the horizontal. </p>
<p>and vertical scale in width and height used to draw this shape inside the given rectangle. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">state</td><td></td></tr>
<tr><td class="paramname">bounds</td><td></td></tr>
<tr><td class="paramname">direction</td><td></td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="ab08b09e495521067d8088c576b9ec816"></a><!-- doxytag: member="com::mxgraph::mxStencil::CreateCanvas" ref="ab08b09e495521067d8088c576b9ec816" args="(mxGdiCanvas gc)" -->
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"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html">mxGdiCanvas2D</a> <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#ab08b09e495521067d8088c576b9ec816">com.mxgraph.mxStencil.CreateCanvas</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_1mxGdiCanvas.html">mxGdiCanvas</a>&#160;</td>
<td class="paramname"><em>gc</em></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Creates the canvas for rendering the stencil. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">gc</td><td></td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a66ab838c70de20b1c3c77331a59fdfcd"></a><!-- doxytag: member="com::mxgraph::mxStencil::DrawElement" ref="a66ab838c70de20b1c3c77331a59fdfcd" args="(mxGdiCanvas2D canvas, mxCellState state, XmlElement node, mxRectangle aspect)" -->
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">void <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a66ab838c70de20b1c3c77331a59fdfcd">com.mxgraph.mxStencil.DrawElement</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_1mxGdiCanvas2D.html">mxGdiCanvas2D</a>&#160;</td>
<td class="paramname"><em>canvas</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_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>state</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">XmlElement&#160;</td>
<td class="paramname"><em>node</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>aspect</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, protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws the given element. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">canvas</td><td></td></tr>
<tr><td class="paramname">state</td><td></td></tr>
<tr><td class="paramname">node</td><td></td></tr>
<tr><td class="paramname">aspect</td><td></td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a4f25038a9d486fb405a0cb9690f4f397"></a><!-- doxytag: member="com::mxgraph::mxStencil::DrawShadow" ref="a4f25038a9d486fb405a0cb9690f4f397" args="(mxGdiCanvas2D canvas, mxCellState state, double rotation, bool flipH, bool flipV, mxRectangle bounds, double alpha, bool filled)" -->
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">void <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a4f25038a9d486fb405a0cb9690f4f397">com.mxgraph.mxStencil.DrawShadow</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_1mxGdiCanvas2D.html">mxGdiCanvas2D</a>&#160;</td>
<td class="paramname"><em>canvas</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_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>state</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>rotation</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>flipH</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>flipV</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>bounds</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>alpha</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>filled</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, protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws the shadow. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">canvas</td><td></td></tr>
<tr><td class="paramname">state</td><td></td></tr>
<tr><td class="paramname">rotation</td><td></td></tr>
<tr><td class="paramname">flipH</td><td></td></tr>
<tr><td class="paramname">flipV</td><td></td></tr>
<tr><td class="paramname">bounds</td><td></td></tr>
<tr><td class="paramname">alpha</td><td></td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a3f5d08565604c84c226eb0f2e9476ec4"></a><!-- doxytag: member="com::mxgraph::mxStencil::DrawShape" ref="a3f5d08565604c84c226eb0f2e9476ec4" args="(mxGdiCanvas2D canvas, mxCellState state, mxRectangle bounds, bool background)" -->
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">bool <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a3f5d08565604c84c226eb0f2e9476ec4">com.mxgraph.mxStencil.DrawShape</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_1mxGdiCanvas2D.html">mxGdiCanvas2D</a>&#160;</td>
<td class="paramname"><em>canvas</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_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>state</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>bounds</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>background</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]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws this stencil inside the given bounds. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a056f25bce3d72128057d4419903686f7"></a><!-- doxytag: member="com::mxgraph::mxStencil::EvaluateAttribute" ref="a056f25bce3d72128057d4419903686f7" args="(XmlElement elt, string attribute, mxCellState state)" -->
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">string <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a056f25bce3d72128057d4419903686f7">com.mxgraph.mxStencil.EvaluateAttribute</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">XmlElement&#160;</td>
<td class="paramname"><em>elt</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">string&#160;</td>
<td class="paramname"><em>attribute</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_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>state</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]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the attribute for the given name from the given node. If the attribute. </p>
<p>does not exist then the text content of the node is evaluated and if it is a function it is invoked with &lt;state&gt; as the only argument and the return value is used as the attribute value to be returned. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">elt</td><td></td></tr>
<tr><td class="paramname">attribute</td><td></td></tr>
<tr><td class="paramname">state</td><td></td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a227b9ae8fb6d125af96741700281d487"></a><!-- doxytag: member="com::mxgraph::mxStencil::GetDouble" ref="a227b9ae8fb6d125af96741700281d487" args="(XmlElement elt, String attribute)" -->
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">double <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a227b9ae8fb6d125af96741700281d487">com.mxgraph.mxStencil.GetDouble</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">XmlElement&#160;</td>
<td class="paramname"><em>elt</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">String&#160;</td>
<td class="paramname"><em>attribute</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, protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
2013-04-04 11:51:15 +00:00
<p>Returns the given attribute or 0. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">elt</td><td></td></tr>
<tr><td class="paramname">attribute</td><td></td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a592f1da290fbefd4549759804d575fb0"></a><!-- doxytag: member="com::mxgraph::mxStencil::GetDouble" ref="a592f1da290fbefd4549759804d575fb0" args="(XmlElement elt, String attribute, double defaultValue)" -->
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">double <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a227b9ae8fb6d125af96741700281d487">com.mxgraph.mxStencil.GetDouble</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">XmlElement&#160;</td>
<td class="paramname"><em>elt</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>attribute</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>defaultValue</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, protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
2013-04-04 11:51:15 +00:00
<p>Returns the given attribute or the default value. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">elt</td><td></td></tr>
<tr><td class="paramname">attribute</td><td></td></tr>
<tr><td class="paramname">defaultValue</td><td></td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a8e6ed6df5d200069e6c768c72f92ffcf"></a><!-- doxytag: member="com::mxgraph::mxStencil::GetInt" ref="a8e6ed6df5d200069e6c768c72f92ffcf" args="(XmlElement elt, string attribute, int defaultValue)" -->
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">int <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a8e6ed6df5d200069e6c768c72f92ffcf">com.mxgraph.mxStencil.GetInt</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">XmlElement&#160;</td>
<td class="paramname"><em>elt</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">string&#160;</td>
<td class="paramname"><em>attribute</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">int&#160;</td>
<td class="paramname"><em>defaultValue</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, protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the given attribute or the default value. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">elt</td><td></td></tr>
<tr><td class="paramname">attribute</td><td></td></tr>
<tr><td class="paramname">defaultValue</td><td></td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a070067f7c6af1cd8fbd0e551be8ea9c3"></a><!-- doxytag: member="com::mxgraph::mxStencil::GetString" ref="a070067f7c6af1cd8fbd0e551be8ea9c3" args="(XmlElement elt, string attribute, string defaultValue)" -->
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">string <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a070067f7c6af1cd8fbd0e551be8ea9c3">com.mxgraph.mxStencil.GetString</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">XmlElement&#160;</td>
<td class="paramname"><em>elt</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">string&#160;</td>
<td class="paramname"><em>attribute</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">string&#160;</td>
<td class="paramname"><em>defaultValue</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, protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the given attribute or the default value. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">elt</td><td></td></tr>
<tr><td class="paramname">attribute</td><td></td></tr>
<tr><td class="paramname">defaultValue</td><td></td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a4b18427a4798e1a211ab066ffe87d9b0"></a><!-- doxytag: member="com::mxgraph::mxStencil::PaintShape" ref="a4b18427a4798e1a211ab066ffe87d9b0" args="(mxGdiCanvas gc, mxCellState state)" -->
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">void <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a4b18427a4798e1a211ab066ffe87d9b0">com.mxgraph.mxStencil.PaintShape</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_1mxGdiCanvas.html">mxGdiCanvas</a>&#160;</td>
<td class="paramname"><em>gc</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_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>state</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]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Paints the stencil for the given state. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a1ae722ee30f082feb4b952ddd4031fef"></a><!-- doxytag: member="com::mxgraph::mxStencil::ParseDescription" ref="a1ae722ee30f082feb4b952ddd4031fef" args="()" -->
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">void <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a1ae722ee30f082feb4b952ddd4031fef">com.mxgraph.mxStencil.ParseDescription</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramname"></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Parses the description of this shape. </p>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="afb914f8768998287488c3242a989baeb"></a><!-- doxytag: member="com::mxgraph::mxStencil::aspect" ref="afb914f8768998287488c3242a989baeb" args="" -->
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">string <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#afb914f8768998287488c3242a989baeb">com.mxgraph.mxStencil.aspect</a> = null<code> [protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Holds the aspect of the shape. Default is "auto". </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a9d06782dd986393e1a9bd71c4270d630"></a><!-- doxytag: member="com::mxgraph::mxStencil::bgNode" ref="a9d06782dd986393e1a9bd71c4270d630" args="" -->
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">XmlElement <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a9d06782dd986393e1a9bd71c4270d630">com.mxgraph.mxStencil.bgNode</a> = null<code> [protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Holds the XML node with the stencil description. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a3686186a94c527a23832834f77682d97"></a><!-- doxytag: member="com::mxgraph::mxStencil::desc" ref="a3686186a94c527a23832834f77682d97" args="" -->
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">XmlElement <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a3686186a94c527a23832834f77682d97">com.mxgraph.mxStencil.desc</a><code> [protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Holds the top-level node of the stencil definition. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a2fbce9a57a026fccb17645c5ee987587"></a><!-- doxytag: member="com::mxgraph::mxStencil::fgNode" ref="a2fbce9a57a026fccb17645c5ee987587" args="" -->
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">XmlElement <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a2fbce9a57a026fccb17645c5ee987587">com.mxgraph.mxStencil.fgNode</a> = null<code> [protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Holds the XML node with the stencil description. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="acc54c063764dfd33142985002bb446c0"></a><!-- doxytag: member="com::mxgraph::mxStencil::h0" ref="acc54c063764dfd33142985002bb446c0" args="" -->
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">double <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#acc54c063764dfd33142985002bb446c0">com.mxgraph.mxStencil.h0</a> = 100<code> [protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Holds the height of the shape. Default is 100. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="ac6812dff1f66d3e8d6dc2fcbcd63b7ed"></a><!-- doxytag: member="com::mxgraph::mxStencil::lastMoveX" ref="ac6812dff1f66d3e8d6dc2fcbcd63b7ed" args="" -->
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">double <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#ac6812dff1f66d3e8d6dc2fcbcd63b7ed">com.mxgraph.mxStencil.lastMoveX</a> = 0<code> [protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Holds the last x-position of the cursor. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a3459a073e17a2a60619b36c2cfb40278"></a><!-- doxytag: member="com::mxgraph::mxStencil::lastMoveY" ref="a3459a073e17a2a60619b36c2cfb40278" args="" -->
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">double <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a3459a073e17a2a60619b36c2cfb40278">com.mxgraph.mxStencil.lastMoveY</a> = 0<code> [protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Holds the last y-position of the cursor. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a3f46b35eb0587d9e19e229cd92c13b61"></a><!-- doxytag: member="com::mxgraph::mxStencil::strokewidth" ref="a3f46b35eb0587d9e19e229cd92c13b61" args="" -->
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">string <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a3f46b35eb0587d9e19e229cd92c13b61">com.mxgraph.mxStencil.strokewidth</a> = null<code> [protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Holds the strokewidth direction from the description. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a589e1860a6d044ffe2be81949cbd4350"></a><!-- doxytag: member="com::mxgraph::mxStencil::w0" ref="a589e1860a6d044ffe2be81949cbd4350" args="" -->
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">double <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a589e1860a6d044ffe2be81949cbd4350">com.mxgraph.mxStencil.w0</a> = 100<code> [protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Holds the width of the shape. Default is 100. </p>
</div>
</div>
<hr/><h2>Property Documentation</h2>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a109c096ba8c99ea2bab062b79dd50d35"></a><!-- doxytag: member="com::mxgraph::mxStencil::Description" ref="a109c096ba8c99ea2bab062b79dd50d35" args="" -->
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">XmlElement <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a109c096ba8c99ea2bab062b79dd50d35">com.mxgraph.mxStencil.Description</a><code> [get, set]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets or returns the description. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/canvas/mxStencil.cs</li>
</ul>
2013-04-04 11:51:15 +00:00
</div><!-- contents -->
<hr class="footer"/><address class="footer"><small>
2013-08-09 09:08:09 +00:00
Generated on Fri Aug 9 2013 10:05:12 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>