<!-- saved from url=(0026)http://www.naturaldocs.org -->
<divid=Content><divclass="CInterface"><divclass=CTopicid=MainTopic><h1class=CTitle><aname="mxPerimeterFunction"></a>mxPerimeterFunction</h1><divclass=CBody><p>Defines the requirements for a perimeter function.</p><!--START_ND_SUMMARY--><divclass=Summary><divclass=STitle>Summary</div><divclass=SBorder><tableborder=0cellspacing=0cellpadding=0class=STable><trclass="SMain"><tdclass=SEntry><ahref="#mxPerimeterFunction">mxPerimeterFunction</a></td><tdclass=SDescription>Defines the requirements for a perimeter function.</td></tr><trclass="SGroup SIndent1"><tdclass=SEntry><ahref="#mxPerimeterFunction.Functions">Functions</a></td><tdclass=SDescription></td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#mxPerimeterFunction.apply"id=link1onMouseOver="ShowTip(event, 'tt1', 'link1')"onMouseOut="HideTip('tt1')">apply</a></td><tdclass=SDescription>Implements a perimeter function.</td></tr><trclass="SClass"><tdclass=SEntry><ahref="#mxRectanglePerimeter">mxRectanglePerimeter</a></td><tdclass=SDescription>Implements a rectangular perimeter for the given bounds.</td></tr><trclass="SClass"><tdclass=SEntry><ahref="#mxEllipsePerimeter">mxEllipsePerimeter</a></td><tdclass=SDescription>Implements an elliptic perimeter. </td></tr><trclass="SClass"><tdclass=SEntry><ahref="#mxRhombusPerimeter">mxRhombusPerimeter</a></td><tdclass=SDescription>Implements a rhombus (aka diamond) perimeter. </td></tr><trclass="SClass"><tdclass=SEntry><ahref="#mxTrianglePerimeter">mxTrianglePerimeter</a></td><tdclass=SDescription>Implements a triangle perimeter. </td></tr><trclass="SClass"><tdclass=SEntry><ahref="#mxPerimeter">mxPerimeter</a></td><tdclass=SDescription>Provides various perimeter functions to be used in a style as the value of <ahref="../util/mxConstants-php.html#mxConstants.STYLE_PERIMETER"class=LVariableid=link2onMouseOver="ShowTip(event, 'tt2', 'link2')"onMouseOut="HideTip('tt2')">mxConstants.STYLE_PERIMETER</a>.</td></tr><trclass="SGroup SIndent1"><tdclass=SEntry><ahref="#mxPerimeter.Variables">Variables</a></td><tdclass=SDescription></td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxPerimeter.RectanglePerimeter"id=link3onMouseOver="ShowTip(event, 'tt3', 'link3')"onMouseOut="HideTip('tt3')">RectanglePerimeter</a></td><tdclass=SDescription>Provides a rectangular perimeter.</td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#mxPerimeter.EllipsePerimeter"id=link4onMouseOver="ShowTip(event, 'tt4', 'link4')"onMouseOut="HideTip('tt4')">EllipsePerimeter</a></td><tdclass=SDescription>Provides an elliptic perimeter.</td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxPerimeter.RhombusPerimeter"id=link5onMouseOver="ShowTip(event, 'tt5', 'link5')"onMouseOut="HideTip('tt5')">RhombusPerimeter</a></td><tdclass=SDescription>Provides a rhombus (aka diamond) perimeter.</td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#mxPerimeter.TrianglePerimeter"id=link6onMouseOver="ShowTip(event, 'tt6', 'link6')"onMouseOut="HideTip('tt6')">TrianglePerimeter</a></td><tdclass=SDescription>Provides a triangle perimeter. </td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxPerimeterFunction.apply"></a>apply</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>public function apply(</td><tdclass=PParameternowrap>$bounds,</td></tr><tr><td></td><tdclass=PParameternowrap>$vertex,</td></tr><tr><td></td><tdclass=PParameternowrap>$next,</td></tr><tr><td></td><tdclass=PParameternowrap>$orthogonal</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Implements a perimeter function.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>bounds</td><tdclass=CDLDescription><ahref="../util/mxRectangle-php.html#mxRectangle"class=LClassid=link7onMouseOver="ShowTip(event, 'tt7', 'link7')"onMouseOut="HideTip('tt7')">mxRectangle</a> that represents the absolute bounds of the vertex.</td></tr><tr><tdclass=CDLEntry>vertex</td><tdclass=CDLDescription><ahref="mxCellState-php.html#mxCellState"class=LClassid=link8onMouseOver="ShowTip(event, 'tt8', 'link8')"onMouseOut="HideTip('tt8')">mxCellState</a> that represents the vertex.</td></tr><tr><tdclass=CDLEntry>next</td><tdclass=CDLDescription><ahref="../util/mxPoint-php.html#mxPoint"class=LClassid=link9onMouseOver="ShowTip(event, 'tt9', 'link9')"onMouseOut="HideTip('tt9')">mxPoint</a> that represents the nearest neighbour point on the given edge.</td></tr><tr><tdclass=CDLEntry>orthogonal</td><tdclass=CDLDescription>Boolean that specifies if the orthogonal projection onto the perimeter should be returned. If this is false then the intersection of the perimeter and the line between the next and the center point is returned.</td></tr></table></div></div></div>
<divclass="CClass"><divclass=CTopic><h2class=CTitle><aname="mxRectanglePerimeter"></a>mxRectanglePerimeter</h2><divclass=CBody><p>Implements a rectangular perimeter for the given bounds.</p></div></div></div>
<divclass="CClass"><divclass=CTopic><h2class=CTitle><aname="mxEllipsePerimeter"></a>mxEllipsePerimeter</h2><divclass=CBody><p>Implements an elliptic perimeter. See <RectanglePerimeter> for a description of the parameters.</p></div></div></div>
<divclass="CClass"><divclass=CTopic><h2class=CTitle><aname="mxRhombusPerimeter"></a>mxRhombusPerimeter</h2><divclass=CBody><p>Implements a rhombus (aka diamond) perimeter. See <RectanglePerimeter> for a description of the parameters.</p></div></div></div>
<divclass="CClass"><divclass=CTopic><h2class=CTitle><aname="mxTrianglePerimeter"></a>mxTrianglePerimeter</h2><divclass=CBody><p>Implements a triangle perimeter. See <RectanglePerimeter> for a description of the parameters.</p></div></div></div>
<divclass="CClass"><divclass=CTopic><h2class=CTitle><aname="mxPerimeter"></a>mxPerimeter</h2><divclass=CBody><p>Provides various perimeter functions to be used in a style as the value of <ahref="../util/mxConstants-php.html#mxConstants.STYLE_PERIMETER"class=LVariableid=link14onMouseOver="ShowTip(event, 'tt2', 'link14')"onMouseOut="HideTip('tt2')">mxConstants.STYLE_PERIMETER</a>.</p><p>The parameters are explained in <ahref="#mxPerimeter.RectanglePerimeter"class=LVariableid=link15onMouseOver="ShowTip(event, 'tt3', 'link15')"onMouseOut="HideTip('tt3')">RectanglePerimeter</a>.</p><!--START_ND_SUMMARY--><divclass=Summary><divclass=STitle>Summary</div><divclass=SBorder><tableborder=0cellspacing=0cellpadding=0class=STable><trclass="SGroup"><tdclass=SEntry><ahref="#mxPerimeter.Variables">Variables</a></td><tdclass=SDescription></td></tr><trclass="SVariable SIndent1 SMarked"><tdclass=SEntry><ahref="#mxPerimeter.RectanglePerimeter"id=link10onMouseOver="ShowTip(event, 'tt3', 'link10')"onMouseOut="HideTip('tt3')">RectanglePerimeter</a></td><tdclass=SDescription>Provides a rectangular perimeter.</td></tr><trclass="SVariable SIndent1"><tdclass=SEntry><ahref="#mxPerimeter.EllipsePerimeter"id=link11onMouseOver="ShowTip(event, 'tt4', 'link11')"onMouseOut="HideTip('tt4')">EllipsePerimeter</a></td><tdclass=SDescription>Provides an elliptic perimeter.</td></tr><trclass="SVariable SIndent1 SMarked"><tdclass=SEntry><ahref="#mxPerimeter.RhombusPerimeter"id=link12onMouseOver="ShowTip(event, 'tt5', 'link12')"onMouseOut="HideTip('tt5')">RhombusPerimeter</a></td><tdclass=SDescription>Provides a rhombus (aka diamond) perimeter.</td></tr><trclass="SVariable SIndent1"><tdclass=SEntry><ahref="#mxPerimeter.TrianglePerimeter"id=link13onMouseOver="ShowTip(event, 'tt6', 'link13')"onMouseOut="HideTip('tt6')">TrianglePerimeter</a></td><tdclass=SDescription>Provides a triangle perimeter. </td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxPerimeter.RectanglePerimeter"></a>RectanglePerimeter</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $RectanglePerimeter</td></tr></table></blockquote><p>Provides a rectangular perimeter.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxPerimeter.EllipsePerimeter"></a>EllipsePerimeter</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $EllipsePerimeter</td></tr></table></blockquote><p>Provides an elliptic perimeter.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxPerimeter.RhombusPerimeter"></a>RhombusPerimeter</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $RhombusPerimeter</td></tr></table></blockquote><p>Provides a rhombus (aka diamond) perimeter.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxPerimeter.TrianglePerimeter"></a>TrianglePerimeter</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $TrianglePerimeter</td></tr></table></blockquote><p>Provides a triangle perimeter. See <ahref="#mxPerimeter.RectanglePerimeter"class=LVariableid=link16onMouseOver="ShowTip(event, 'tt3', 'link16')"onMouseOut="HideTip('tt3')">RectanglePerimeter</a> for a description of the parameters.</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>public function apply(</td><tdclass=PParameternowrap>$bounds,</td></tr><tr><td></td><tdclass=PParameternowrap>$vertex,</td></tr><tr><td></td><tdclass=PParameternowrap>$next,</td></tr><tr><td></td><tdclass=PParameternowrap>$orthogonal</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Implements a perimeter function.</div></div><divclass=CToolTipid="tt2"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $STYLE_PERIMETER</td></tr></table></blockquote>Defines the key for the perimeter style. </div></div><divclass=CToolTipid="tt3"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $RectanglePerimeter</td></tr></table></blockquote>Provides a rectangular perimeter.</div></div><divclass=CToolTipid="tt4"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $EllipsePerimeter</td></tr></table></blockquote>Provides an elliptic perimeter.</div></div><divclass=CToolTipid="tt5"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $RhombusPerimeter</td></tr></table></blockquote>Provides a rhombus (aka diamond) perimeter.</div></div><divclass=CToolTipid="tt6"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $TrianglePerimeter</td></tr></table></blockquote>Provides a triangle perimeter. </div></div><divclass=CToolTipid="tt7"><divclass=CClass>Implements a 2-dimensional rectangle with double precision coordinates.</div></div><divclass=CToolTipid="tt8"><divclass=CClass>Represents the current state of a cell in a given mxGraphView.</div></div><divclass=CToolTipid="tt9"><divclass=CClass>Implements a 2-dimensional point with double precision coordinates.</div></div><!--END_ND_TOOLTIPS-->