<divid=Content><divclass="CFile"><divclass=CTopicid=MainTopic><h1class=CTitle><aname="mxEdgeSegmentHandler.js"></a>mxEdgeSegmentHandler.js</h1><divclass=CBody><!--START_ND_SUMMARY--><divclass=Summary><divclass=STitle>Summary</div><divclass=SBorder><tableborder=0cellspacing=0cellpadding=0class=STable><trclass="SMain"><tdclass=SEntry><ahref="#mxEdgeSegmentHandler.js">mxEdgeSegmentHandler.js</a></td><tdclass=SDescription></td></tr><trclass="SGroup"><tdclass=SEntry><ahref="#Functions">Functions</a></td><tdclass=SDescription></td></tr><trclass="SFunction SIndent1 SMarked"><tdclass=SEntry><ahref="#getPreviewPoints"id=link1onMouseOver="ShowTip(event, 'tt1', 'link1')"onMouseOut="HideTip('tt1')">getPreviewPoints</a></td><tdclass=SDescription>Updates the given preview state taking into account the state of the constraint handler.</td></tr><trclass="SFunction SIndent1"><tdclass=SEntry><ahref="#createBends"id=link2onMouseOver="ShowTip(event, 'tt2', 'link2')"onMouseOut="HideTip('tt2')">createBends</a></td><tdclass=SDescription>Adds custom bends for the center of each segment.</td></tr><trclass="SFunction SIndent1 SMarked"><tdclass=SEntry><ahref="#redraw"id=link3onMouseOver="ShowTip(event, 'tt3', 'link3')"onMouseOut="HideTip('tt3')">redraw</a></td><tdclass=SDescription>Overridden to invoke <ahref="#refresh"class=LFunctionid=link4onMouseOver="ShowTip(event, 'tt4', 'link4')"onMouseOut="HideTip('tt4')">refresh</a> before the redraw.</td></tr><trclass="SFunction SIndent1"><tdclass=SEntry><ahref="#refresh"id=link5onMouseOver="ShowTip(event, 'tt4', 'link5')"onMouseOut="HideTip('tt4')">refresh</a></td><tdclass=SDescription>Refreshes the bends of this handler.</td></tr><trclass="SFunction SIndent1 SMarked"><tdclass=SEntry><ahref="#redrawInnerBends"id=link6onMouseOver="ShowTip(event, 'tt5', 'link6')"onMouseOut="HideTip('tt5')">redrawInnerBends</a></td><tdclass=SDescription>Updates the position of the custom bends.</td></tr><trclass="SFunction SIndent1"><tdclass=SEntry><ahref="#changePoints"id=link7onMouseOver="ShowTip(event, 'tt6', 'link7')"onMouseOut="HideTip('tt6')">changePoints</a></td><tdclass=SDescription>Changes the points of the given edge to reflect the current state of the handler.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="getPreviewPoints"></a>getPreviewPoints</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>mxEdgeSegmentHandler.prototype.getPreviewPoints = function(</td><tdclass=PParameternowrap>point</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Updates the given preview state taking into account the state of the constraint handler.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="createBends"></a>createBends</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxEdgeSegmentHandler.prototype.createBends = function()</td></tr></table></blockquote><p>Adds custom bends for the center of each segment.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="redraw"></a>redraw</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxEdgeSegmentHandler.prototype.redraw = function()</td></tr></table></blockquote><p>Overridden to invoke <ahref="#refresh"class=LFunctionid=link8onMouseOver="ShowTip(event, 'tt4', 'link8')"onMouseOut="HideTip('tt4')">refresh</a> before the redraw.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="refresh"></a>refresh</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxEdgeSegmentHandler.prototype.refresh = function()</td></tr></table></blockquote><p>Refreshes the bends of this handler.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="redrawInnerBends"></a>redrawInnerBends</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>mxEdgeSegmentHandler.prototype.redrawInnerBends = function(</td><tdclass=PParameternowrap>p0,</td></tr><tr><td></td><tdclass=PParameternowrap>pe</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Updates the position of the custom bends.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="changePoints"></a>changePoints</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>mxEdgeSegmentHandler.prototype.changePoints = function(</td><tdclass=PParameternowrap>edge,</td></tr><tr><td></td><tdclass=PParameternowrap>points</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Changes the points of the given edge to reflect the current state of the handler.</p></div></div></div>
</div><!--Content-->
<divid=Footer><ahref="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
<divclass=CToolTipid="tt1"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>mxEdgeSegmentHandler.prototype.getPreviewPoints = function(</td><tdclass=PParameternowrap>point</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Updates the given preview state taking into account the state of the constraint handler.</div></div><divclass=CToolTipid="tt2"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxEdgeSegmentHandler.prototype.createBends = function()</td></tr></table></blockquote>Adds custom bends for the center of each segment.</div></div><divclass=CToolTipid="tt3"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxEdgeSegmentHandler.prototype.redraw = function()</td></tr></table></blockquote>Overridden to invoke refresh before the redraw.</div></div><divclass=CToolTipid="tt4"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxEdgeSegmentHandler.prototype.refresh = function()</td></tr></table></blockquote>Refreshes the bends of this handler.</div></div><divclass=CToolTipid="tt5"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>mxEdgeSegmentHandler.prototype.redrawInnerBends = function(</td><tdclass=PParameternowrap>p0,</td></tr><tr><td></td><tdclass=PParameternowrap>pe</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Updates the position of the custom bends.</div></div><divclass=CToolTipid="tt6"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>mxEdgeSegmentHandler.prototype.changePoints = function(</td><tdclass=PParameternowrap>edge,</td></tr><tr><td></td><tdclass=PParameternowrap>points</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Changes the points of the given edge to reflect the current state of the handler.</div></div><!--END_ND_TOOLTIPS-->