816 lines
40 KiB
HTML
816 lines
40 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"/>
|
|
<title>mxGraph: com.mxgraph.mxStencil Class Reference</title>
|
|
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
|
|
|
|
|
|
</head>
|
|
<body>
|
|
<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 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>
|
|
<li><a href="dirs.html"><span>Directories</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"><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>
|
|
</div>
|
|
</div>
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pro-methods">Protected Member Functions</a> |
|
|
<a href="#pro-attribs">Protected Attributes</a> |
|
|
<a href="#properties">Properties</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">com.mxgraph.mxStencil Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<!-- 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>
|
|
|
|
<p><a href="classcom_1_1mxgraph_1_1mxStencil-members.html">List of all members.</a></p>
|
|
<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"> </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"> </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 </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"> </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 </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 </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"> </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> </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"> </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 </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"> </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> </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"> </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 </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 </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 </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 </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 </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"> </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 </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 </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"> </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 </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"> </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 </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"> </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 </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"> </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 </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"> </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 </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"> </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 </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"> </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 </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"> </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 </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"> </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 </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"> </td><td class="mdescRight">Sets or returns the description. <a href="#a109c096ba8c99ea2bab062b79dd50d35"></a><br/></td></tr>
|
|
</table>
|
|
<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 & Destructor Documentation</h2>
|
|
<a class="anchor" id="a9a3e194541fd82b01ff4fcbbcc9383e1"></a><!-- doxytag: member="com::mxgraph::mxStencil::mxStencil" ref="a9a3e194541fd82b01ff4fcbbcc9383e1" args="(XmlElement description)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a9a3e194541fd82b01ff4fcbbcc9383e1">com.mxgraph.mxStencil.mxStencil</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">XmlElement </td>
|
|
<td class="paramname"><em>description</em></td><td>)</td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<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>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Member Function Documentation</h2>
|
|
<a class="anchor" id="a956dc34d95917dc47745e78ad3dcecb7"></a><!-- doxytag: member="com::mxgraph::mxStencil::ComputeAspect" ref="a956dc34d95917dc47745e78ad3dcecb7" args="(mxCellState state, mxRectangle bounds, string direction)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<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>
|
|
<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"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> </td>
|
|
<td class="paramname"><em>bounds</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><code> [inline, protected]</code></td>
|
|
</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>
|
|
<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>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab08b09e495521067d8088c576b9ec816"></a><!-- doxytag: member="com::mxgraph::mxStencil::CreateCanvas" ref="ab08b09e495521067d8088c576b9ec816" args="(mxGdiCanvas gc)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<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>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html">mxGdiCanvas</a> </td>
|
|
<td class="paramname"><em>gc</em></td><td>)</td>
|
|
<td><code> [inline, protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Creates the canvas for rendering the stencil. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">gc</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a66ab838c70de20b1c3c77331a59fdfcd"></a><!-- doxytag: member="com::mxgraph::mxStencil::DrawElement" ref="a66ab838c70de20b1c3c77331a59fdfcd" args="(mxGdiCanvas2D canvas, mxCellState state, XmlElement node, mxRectangle aspect)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a66ab838c70de20b1c3c77331a59fdfcd">com.mxgraph.mxStencil.DrawElement</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html">mxGdiCanvas2D</a> </td>
|
|
<td class="paramname"><em>canvas</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">XmlElement </td>
|
|
<td class="paramname"><em>node</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> </td>
|
|
<td class="paramname"><em>aspect</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td><code> [inline, protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Draws the given element. </p>
|
|
<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>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<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)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a4f25038a9d486fb405a0cb9690f4f397">com.mxgraph.mxStencil.DrawShadow</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html">mxGdiCanvas2D</a> </td>
|
|
<td class="paramname"><em>canvas</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">double </td>
|
|
<td class="paramname"><em>rotation</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 class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> </td>
|
|
<td class="paramname"><em>bounds</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">double </td>
|
|
<td class="paramname"><em>alpha</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>filled</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td><code> [inline, protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Draws the shadow. </p>
|
|
<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>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3f5d08565604c84c226eb0f2e9476ec4"></a><!-- doxytag: member="com::mxgraph::mxStencil::DrawShape" ref="a3f5d08565604c84c226eb0f2e9476ec4" args="(mxGdiCanvas2D canvas, mxCellState state, mxRectangle bounds, bool background)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a3f5d08565604c84c226eb0f2e9476ec4">com.mxgraph.mxStencil.DrawShape</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas2D.html">mxGdiCanvas2D</a> </td>
|
|
<td class="paramname"><em>canvas</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"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> </td>
|
|
<td class="paramname"><em>bounds</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>background</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Draws this stencil inside the given bounds. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a056f25bce3d72128057d4419903686f7"></a><!-- doxytag: member="com::mxgraph::mxStencil::EvaluateAttribute" ref="a056f25bce3d72128057d4419903686f7" args="(XmlElement elt, string attribute, mxCellState state)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">string <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a056f25bce3d72128057d4419903686f7">com.mxgraph.mxStencil.EvaluateAttribute</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">XmlElement </td>
|
|
<td class="paramname"><em>elt</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">string </td>
|
|
<td class="paramname"><em>attribute</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></td>
|
|
<td>)</td>
|
|
<td></td><td><code> [inline]</code></td>
|
|
</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 <state> as the only argument and the return value is used as the attribute value to be returned. </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">state</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a227b9ae8fb6d125af96741700281d487"></a><!-- doxytag: member="com::mxgraph::mxStencil::GetDouble" ref="a227b9ae8fb6d125af96741700281d487" args="(XmlElement elt, String attribute)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">double <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a227b9ae8fb6d125af96741700281d487">com.mxgraph.mxStencil.GetDouble</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">XmlElement </td>
|
|
<td class="paramname"><em>elt</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">String </td>
|
|
<td class="paramname"><em>attribute</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td><code> [inline, protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<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>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a592f1da290fbefd4549759804d575fb0"></a><!-- doxytag: member="com::mxgraph::mxStencil::GetDouble" ref="a592f1da290fbefd4549759804d575fb0" args="(XmlElement elt, String attribute, double defaultValue)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">double <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a227b9ae8fb6d125af96741700281d487">com.mxgraph.mxStencil.GetDouble</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">XmlElement </td>
|
|
<td class="paramname"><em>elt</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">String </td>
|
|
<td class="paramname"><em>attribute</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">double </td>
|
|
<td class="paramname"><em>defaultValue</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td><code> [inline, protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<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>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8e6ed6df5d200069e6c768c72f92ffcf"></a><!-- doxytag: member="com::mxgraph::mxStencil::GetInt" ref="a8e6ed6df5d200069e6c768c72f92ffcf" args="(XmlElement elt, string attribute, int defaultValue)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a8e6ed6df5d200069e6c768c72f92ffcf">com.mxgraph.mxStencil.GetInt</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">XmlElement </td>
|
|
<td class="paramname"><em>elt</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">string </td>
|
|
<td class="paramname"><em>attribute</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>defaultValue</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td><code> [inline, protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<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>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a070067f7c6af1cd8fbd0e551be8ea9c3"></a><!-- doxytag: member="com::mxgraph::mxStencil::GetString" ref="a070067f7c6af1cd8fbd0e551be8ea9c3" args="(XmlElement elt, string attribute, string defaultValue)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">string <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a070067f7c6af1cd8fbd0e551be8ea9c3">com.mxgraph.mxStencil.GetString</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">XmlElement </td>
|
|
<td class="paramname"><em>elt</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">string </td>
|
|
<td class="paramname"><em>attribute</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">string </td>
|
|
<td class="paramname"><em>defaultValue</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td><code> [inline, protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<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>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4b18427a4798e1a211ab066ffe87d9b0"></a><!-- doxytag: member="com::mxgraph::mxStencil::PaintShape" ref="a4b18427a4798e1a211ab066ffe87d9b0" args="(mxGdiCanvas gc, mxCellState state)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a4b18427a4798e1a211ab066ffe87d9b0">com.mxgraph.mxStencil.PaintShape</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html">mxGdiCanvas</a> </td>
|
|
<td class="paramname"><em>gc</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></td>
|
|
<td>)</td>
|
|
<td></td><td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Paints the stencil for the given state. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1ae722ee30f082feb4b952ddd4031fef"></a><!-- doxytag: member="com::mxgraph::mxStencil::ParseDescription" ref="a1ae722ee30f082feb4b952ddd4031fef" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a1ae722ee30f082feb4b952ddd4031fef">com.mxgraph.mxStencil.ParseDescription</a> </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<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>
|
|
<a class="anchor" id="afb914f8768998287488c3242a989baeb"></a><!-- doxytag: member="com::mxgraph::mxStencil::aspect" ref="afb914f8768998287488c3242a989baeb" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<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>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Holds the aspect of the shape. Default is "auto". </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9d06782dd986393e1a9bd71c4270d630"></a><!-- doxytag: member="com::mxgraph::mxStencil::bgNode" ref="a9d06782dd986393e1a9bd71c4270d630" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<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>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Holds the XML node with the stencil description. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3686186a94c527a23832834f77682d97"></a><!-- doxytag: member="com::mxgraph::mxStencil::desc" ref="a3686186a94c527a23832834f77682d97" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">XmlElement <a class="el" href="classcom_1_1mxgraph_1_1mxStencil.html#a3686186a94c527a23832834f77682d97">com.mxgraph.mxStencil.desc</a><code> [protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Holds the top-level node of the stencil definition. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2fbce9a57a026fccb17645c5ee987587"></a><!-- doxytag: member="com::mxgraph::mxStencil::fgNode" ref="a2fbce9a57a026fccb17645c5ee987587" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<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>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Holds the XML node with the stencil description. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="acc54c063764dfd33142985002bb446c0"></a><!-- doxytag: member="com::mxgraph::mxStencil::h0" ref="acc54c063764dfd33142985002bb446c0" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<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>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Holds the height of the shape. Default is 100. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac6812dff1f66d3e8d6dc2fcbcd63b7ed"></a><!-- doxytag: member="com::mxgraph::mxStencil::lastMoveX" ref="ac6812dff1f66d3e8d6dc2fcbcd63b7ed" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<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>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Holds the last x-position of the cursor. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3459a073e17a2a60619b36c2cfb40278"></a><!-- doxytag: member="com::mxgraph::mxStencil::lastMoveY" ref="a3459a073e17a2a60619b36c2cfb40278" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<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>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Holds the last y-position of the cursor. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3f46b35eb0587d9e19e229cd92c13b61"></a><!-- doxytag: member="com::mxgraph::mxStencil::strokewidth" ref="a3f46b35eb0587d9e19e229cd92c13b61" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<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>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Holds the strokewidth direction from the description. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a589e1860a6d044ffe2be81949cbd4350"></a><!-- doxytag: member="com::mxgraph::mxStencil::w0" ref="a589e1860a6d044ffe2be81949cbd4350" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<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>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Holds the width of the shape. Default is 100. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Property Documentation</h2>
|
|
<a class="anchor" id="a109c096ba8c99ea2bab062b79dd50d35"></a><!-- doxytag: member="com::mxgraph::mxStencil::Description" ref="a109c096ba8c99ea2bab062b79dd50d35" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<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>
|
|
</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>
|
|
</div><!-- contents -->
|
|
|
|
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Mon Apr 8 2013 12:32:35 for mxGraph by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.7.6.1
|
|
</small></address>
|
|
|
|
</body>
|
|
</html>
|