<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.Functions">Functions</a></td><tdclass=SDescription></td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#mxConnectionConstraint.mxConnectionConstraint"id=link1onMouseOver="ShowTip(event, 'tt1', 'link1')"onMouseOut="HideTip('tt1')">mxConnectionConstraint</a></td><tdclass=SDescription>Constructs a new connection constraint for the given point and boolean arguments.</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=link2onMouseOver="ShowTip(event, 'tt2', 'link2')"onMouseOut="HideTip('tt2')">point</a></td><tdclass=SDescription><ahref="../util/mxPoint-js.html#mxPoint"class=LClassid=link3onMouseOver="ShowTip(event, 'tt3', 'link3')"onMouseOut="HideTip('tt3')">mxPoint</a> that specifies the fixed location of the connection point.</td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#mxConnectionConstraint.perimeter"id=link4onMouseOver="ShowTip(event, 'tt4', 'link4')"onMouseOut="HideTip('tt4')">perimeter</a></td><tdclass=SDescription>Boolean that specifies if the point should be projected onto the perimeter of the terminal.</td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxConnectionConstraint.name"id=link5onMouseOver="ShowTip(event, 'tt5', 'link5')"onMouseOut="HideTip('tt5')">name</a></td><tdclass=SDescription>Optional string that specifies the name of the constraint.</td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#mxConnectionConstraint.dx"id=link6onMouseOver="ShowTip(event, 'tt6', 'link6')"onMouseOut="HideTip('tt6')">dx</a></td><tdclass=SDescription>Optional float that specifies the horizontal offset of the constraint.</td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxConnectionConstraint.dy"id=link7onMouseOver="ShowTip(event, 'tt7', 'link7')"onMouseOut="HideTip('tt7')">dy</a></td><tdclass=SDescription>Optional float that specifies the vertical offset of the constraint.</td></tr></table></div></div><!--END_ND_SUMMARY--></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></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>perimeter,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>name,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>dx,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>dy</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-js.html#mxPoint"class=LClassid=link8onMouseOver="ShowTip(event, 'tt3', 'link8')"onMouseOut="HideTip('tt3')">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="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxConnectionConstraint.point"></a>point</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxConnectionConstraint.prototype.point</td></tr></table></blockquote><p><ahref="../util/mxPoint-js.html#mxPoint"class=LClassid=link9onMouseOver="ShowTip(event, 'tt3', 'link9')"onMouseOut="HideTip('tt3')">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">mxConnectionConstraint.prototype.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="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxConnectionConstraint.name"></a>name</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxConnectionConstraint.prototype.name</td></tr></table></blockquote><p>Optional string that specifies the name of the constraint.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxConnectionConstraint.dx"></a>dx</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxConnectionConstraint.prototype.dx</td></tr></table></blockquote><p>Optional float that specifies the horizontal offset of the constraint.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxConnectionConstraint.dy"></a>dy</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxConnectionConstraint.prototype.dy</td></tr></table></blockquote><p>Optional float that specifies the vertical offset of the constraint.</p></div></div></div>
<divclass=CToolTipid="tt1"><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></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>perimeter,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>name,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>dx,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>dy</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><divclass=CToolTipid="tt2"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxConnectionConstraint.prototype.point</td></tr></table></blockquote>mxPoint that specifies the fixed location of the connection point.</div></div><divclass=CToolTipid="tt3"><divclass=CClass>Implements a 2-dimensional vector with double precision coordinates.</div></div><divclass=CToolTipid="tt4"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxConnectionConstraint.prototype.perimeter</td></tr></table></blockquote>Boolean that specifies if the point should be projected onto the perimeter of the terminal.</div></div><divclass=CToolTipid="tt5"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxConnectionConstraint.prototype.name</td></tr></table></blockquote>Optional string that specifies the name of the constraint.</div></div><divclass=CToolTipid="tt6"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxConnectionConstraint.prototype.dx</td></tr></table></blockquote>Optional float that specifies the horizontal offset of the constraint.</div></div><divclass=CToolTipid="tt7"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxConnectionConstraint.prototype.dy</td></tr></table></blockquote>Optional float that specifies the vertical offset of the constraint.</div></div><!--END_ND_TOOLTIPS-->