maxGraph/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCo...

203 lines
12 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>mxGraph: com::mxgraph::mxConnectionConstraint Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
<div class="navpath"><b>com</b>::<b>mxgraph</b>::<a class="el" href="classcom_1_1mxgraph_1_1mxConnectionConstraint.html">mxConnectionConstraint</a>
</div>
</div>
<div class="contents">
<h1>com::mxgraph::mxConnectionConstraint Class Reference</h1><!-- doxytag: class="com::mxgraph::mxConnectionConstraint" -->
<p>Defines an object that contains the constraints about how to connect one side of an edge to its terminal.
<a href="#_details">More...</a></p>
<p><a href="classcom_1_1mxgraph_1_1mxConnectionConstraint-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxConnectionConstraint.html#a2594d83443414fae6bcb8728713bbef1">mxConnectionConstraint</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs an empty connection constraint. <a href="#a2594d83443414fae6bcb8728713bbef1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxConnectionConstraint.html#af44a749758838408cbc29600523d465e">mxConnectionConstraint</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> <a class="el" href="classcom_1_1mxgraph_1_1mxConnectionConstraint.html#ae0735f826168921bcf66d7ee7617bf62">point</a>)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a connection constraint for the given point. <a href="#af44a749758838408cbc29600523d465e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxConnectionConstraint.html#ac02b9767558b384cebe2adc41cb33528">mxConnectionConstraint</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> <a class="el" href="classcom_1_1mxgraph_1_1mxConnectionConstraint.html#ae0735f826168921bcf66d7ee7617bf62">point</a>, bool <a class="el" href="classcom_1_1mxgraph_1_1mxConnectionConstraint.html#ae84d172008422f7f0dcbfb44865f9a18">perimeter</a>)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a new connection constraint for the given point and boolean arguments. <a href="#ac02b9767558b384cebe2adc41cb33528"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxConnectionConstraint.html#ae0735f826168921bcf66d7ee7617bf62">point</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Point that specifies the fixed location of the connection point. <a href="#ae0735f826168921bcf66d7ee7617bf62"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxConnectionConstraint.html#ae84d172008422f7f0dcbfb44865f9a18">perimeter</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Boolean that specifies if the point should be projected onto the perimeter of the terminal. <a href="#ae84d172008422f7f0dcbfb44865f9a18"></a><br/></td></tr>
<tr><td colspan="2"><h2>Properties</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxConnectionConstraint.html#a1032705c081348cc5b1f07f20d1508ef">Point</a><code> [get, set]</code></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets or returns the point. <a href="#a1032705c081348cc5b1f07f20d1508ef"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxConnectionConstraint.html#abd093f6a4dcf97fcc040304a1c27ed4f">Perimeter</a><code> [get, set]</code></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets or returns perimeter. <a href="#abd093f6a4dcf97fcc040304a1c27ed4f"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Defines an object that contains the constraints about how to connect one side of an edge to its terminal. </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a2594d83443414fae6bcb8728713bbef1"></a><!-- doxytag: member="com::mxgraph::mxConnectionConstraint::mxConnectionConstraint" ref="a2594d83443414fae6bcb8728713bbef1" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">com::mxgraph::mxConnectionConstraint::mxConnectionConstraint </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Constructs an empty connection constraint. </p>
</div>
</div>
<a class="anchor" id="af44a749758838408cbc29600523d465e"></a><!-- doxytag: member="com::mxgraph::mxConnectionConstraint::mxConnectionConstraint" ref="af44a749758838408cbc29600523d465e" args="(mxPoint point)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">com::mxgraph::mxConnectionConstraint::mxConnectionConstraint </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>&nbsp;</td>
<td class="paramname"> <em>point</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Constructs a connection constraint for the given point. </p>
</div>
</div>
<a class="anchor" id="ac02b9767558b384cebe2adc41cb33528"></a><!-- doxytag: member="com::mxgraph::mxConnectionConstraint::mxConnectionConstraint" ref="ac02b9767558b384cebe2adc41cb33528" args="(mxPoint point, bool perimeter)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">com::mxgraph::mxConnectionConstraint::mxConnectionConstraint </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>&nbsp;</td>
<td class="paramname"> <em>point</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>perimeter</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Constructs a new connection constraint for the given point and boolean arguments. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>point</em>&nbsp;</td><td>Optional <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html" title="Implements a 2-dimensional point with double precision coordinates.">mxPoint</a> that specifies the fixed location of the point in relative coordinates. Default is null.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>perimeter</em>&nbsp;</td><td>Optional boolean that specifies if the fixed point should be projected onto the perimeter of the terminal. Default is true.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="ae84d172008422f7f0dcbfb44865f9a18"></a><!-- doxytag: member="com::mxgraph::mxConnectionConstraint::perimeter" ref="ae84d172008422f7f0dcbfb44865f9a18" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classcom_1_1mxgraph_1_1mxConnectionConstraint.html#ae84d172008422f7f0dcbfb44865f9a18">com::mxgraph::mxConnectionConstraint::perimeter</a><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Boolean that specifies if the point should be projected onto the perimeter of the terminal. </p>
</div>
</div>
<a class="anchor" id="ae0735f826168921bcf66d7ee7617bf62"></a><!-- doxytag: member="com::mxgraph::mxConnectionConstraint::point" ref="ae0735f826168921bcf66d7ee7617bf62" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> <a class="el" href="classcom_1_1mxgraph_1_1mxConnectionConstraint.html#ae0735f826168921bcf66d7ee7617bf62">com::mxgraph::mxConnectionConstraint::point</a><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Point that specifies the fixed location of the connection point. </p>
</div>
</div>
<hr/><h2>Property Documentation</h2>
<a class="anchor" id="abd093f6a4dcf97fcc040304a1c27ed4f"></a><!-- doxytag: member="com::mxgraph::mxConnectionConstraint::Perimeter" ref="abd093f6a4dcf97fcc040304a1c27ed4f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool com::mxgraph::mxConnectionConstraint::Perimeter<code> [get, set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets or returns perimeter. </p>
</div>
</div>
<a class="anchor" id="a1032705c081348cc5b1f07f20d1508ef"></a><!-- doxytag: member="com::mxgraph::mxConnectionConstraint::Point" ref="a1032705c081348cc5b1f07f20d1508ef" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> com::mxgraph::mxConnectionConstraint::Point<code> [get, set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets or returns the point. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/view/mxConnectionConstraint.cs</li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Tue Dec 18 13:18:35 2012 for mxGraph by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>