<!-- saved from url=(0026)http://www.naturaldocs.org -->
<divid=Content><divclass="CClass"><divclass=CTopicid=MainTopic><h1class=CTitle><aname="mxConnectionConstraint"></a>mxConnectionConstraint</h1><divclass=CBody><p>Defines an object that contains the constraints about how to connect one side of an edge to its terminal.</p><!--START_ND_SUMMARY--><divclass=Summary><divclass=STitle>Summary</div><divclass=SBorder><tableborder=0cellspacing=0cellpadding=0class=STable><trclass="SMain"><tdclass=SEntry><ahref="#mxConnectionConstraint">mxConnectionConstraint</a></td><tdclass=SDescription>Defines an object that contains the constraints about how to connect one side of an edge to its terminal.</td></tr><trclass="SGroup SIndent1"><tdclass=SEntry><ahref="#mxConnectionConstraint.Variables">Variables</a></td><tdclass=SDescription></td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxConnectionConstraint.point"id=link1onMouseOver="ShowTip(event, 'tt1', 'link1')"onMouseOut="HideTip('tt1')">point</a></td><tdclass=SDescription><ahref="../util/mxPoint-php.html#mxPoint"class=LClassid=link2onMouseOver="ShowTip(event, 'tt2', 'link2')"onMouseOut="HideTip('tt2')">mxPoint</a> that specifies the fixed location of the connection point.</td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#mxConnectionConstraint.perimeter"id=link3onMouseOver="ShowTip(event, 'tt3', 'link3')"onMouseOut="HideTip('tt3')">perimeter</a></td><tdclass=SDescription>Boolean that specifies if the point should be projected onto the perimeter of the terminal.</td></tr><trclass="SGroup SIndent1"><tdclass=SEntry><ahref="#mxConnectionConstraint.Functions">Functions</a></td><tdclass=SDescription></td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#mxConnectionConstraint.mxConnectionConstraint"id=link4onMouseOver="ShowTip(event, 'tt4', 'link4')"onMouseOut="HideTip('tt4')">mxConnectionConstraint</a></td><tdclass=SDescription>Constructs a new connection constraint for the given point and boolean arguments.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxConnectionConstraint.point"></a>point</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">var $point</td></tr></table></blockquote><p><ahref="../util/mxPoint-php.html#mxPoint"class=LClassid=link5onMouseOver="ShowTip(event, 'tt2', 'link5')"onMouseOut="HideTip('tt2')">mxPoint</a> that specifies the fixed location of the connection point.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxConnectionConstraint.perimeter"></a>perimeter</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">var $perimeter</td></tr></table></blockquote><p>Boolean that specifies if the point should be projected onto the perimeter of the terminal.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxConnectionConstraint.mxConnectionConstraint"></a>mxConnectionConstraint</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>function mxConnectionConstraint(</td><tdclass="PParameter prettyprint "nowrap>$point</td><tdclass="PDefaultValuePrefix prettyprint "> = </td><tdclass="PDefaultValue prettyprint "width=100%> null,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>$perimeter</td><tdclass="PDefaultValuePrefix prettyprint "> = </td><tdclass="PDefaultValue prettyprint "width=100%> true</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new connection constraint for the given point and boolean arguments.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>point</td><tdclass=CDLDescription>Optional <ahref="../util/mxPoint-php.html#mxPoint"class=LClassid=link6onMouseOver="ShowTip(event, 'tt2', 'link6')"onMouseOut="HideTip('tt2')">mxPoint</a> that specifies the fixed location of the point in relative coordinates. Default is null.</td></tr><tr><tdclass=CDLEntry>perimeter</td><tdclass=CDLDescription>Optional boolean that specifies if the fixed point should be projected onto the perimeter of the terminal. Default is true.</td></tr></table></div></div></div>
<divclass=CToolTipid="tt1"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">var $point</td></tr></table></blockquote>mxPoint that specifies the fixed location of the connection point.</div></div><divclass=CToolTipid="tt2"><divclass=CClass>Implements a 2-dimensional point with double precision coordinates.</div></div><divclass=CToolTipid="tt3"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">var $perimeter</td></tr></table></blockquote>Boolean that specifies if the point should be projected onto the perimeter of the terminal.</div></div><divclass=CToolTipid="tt4"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>function mxConnectionConstraint(</td><tdclass="PParameter prettyprint "nowrap>$point</td><tdclass="PDefaultValuePrefix prettyprint "> = </td><tdclass="PDefaultValue prettyprint "width=100%> null,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>$perimeter</td><tdclass="PDefaultValuePrefix prettyprint "> = </td><tdclass="PDefaultValue prettyprint "width=100%> true</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new connection constraint for the given point and boolean arguments.</div></div><!--END_ND_TOOLTIPS-->