UNPKG

jsdk-offical

Version:

JSDK is the most comprehensive TypeScript framework, like JDK.

729 lines 38.5 kB
<!doctype html> <html class="default no-js"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Ellipse | JSDK 2.7.0 API</title> <meta name="description" content="Documentation for JSDK 2.7.0 API"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="../assets/css/main.css"> </head> <body> <header> <div class="tsd-page-toolbar"> <div class="container"> <div class="table-wrap"> <div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base=".."> <div class="field"> <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label> <input id="tsd-search-field" type="text" /> </div> <ul class="results"> <li class="state loading">Preparing search index...</li> <li class="state failure">The search index is not available</li> </ul> <a href="../index.html" class="title">JSDK 2.7.0 API</a> </div> <div class="table-cell" id="tsd-widgets"> <div id="tsd-filter"> <a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a> <div class="tsd-filter-group"> <div class="tsd-select" id="tsd-filter-visibility"> <span class="tsd-select-label">All</span> <ul class="tsd-select-list"> <li data-value="public">Public</li> <li data-value="protected">Public/Protected</li> <li data-value="private" class="selected">All</li> </ul> </div> <input type="checkbox" id="tsd-filter-inherited" checked /> <label class="tsd-widget" for="tsd-filter-inherited">Inherited</label> <input type="checkbox" id="tsd-filter-externals" checked /> <label class="tsd-widget" for="tsd-filter-externals">Externals</label> <input type="checkbox" id="tsd-filter-only-exported" /> <label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label> </div> </div> <a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a> </div> </div> </div> </div> <div class="tsd-page-title"> <div class="container"> <ul class="tsd-breadcrumb"> <li> <a href="../globals.html">Globals</a> </li> <li> <a href="../modules/js.html">JS</a> </li> <li> <a href="../modules/js.math.html">math</a> </li> <li> <a href="../modules/js.math.geom.html">geom</a> </li> <li> <a href="js.math.geom.ellipse.html">Ellipse</a> </li> </ul> <h1>Class Ellipse</h1> </div> </div> </header> <div class="container container-main"> <div class="row"> <div class="col-8 col-content"> <section class="tsd-panel tsd-hierarchy"> <h3>Hierarchy</h3> <ul class="tsd-hierarchy"> <li> <span class="target">Ellipse</span> </li> </ul> </section> <section class="tsd-panel"> <h3>Implements</h3> <ul class="tsd-hierarchy"> <li><a href="../interfaces/js.math.geom.shape.html" class="tsd-signature-type">Shape</a></li> </ul> </section> <section class="tsd-panel-group tsd-index-group"> <h2>Index</h2> <section class="tsd-panel tsd-index-panel"> <div class="tsd-index-content"> <section class="tsd-index-section "> <h3>Constructors</h3> <ul class="tsd-index-list"> <li class="tsd-kind-constructor tsd-parent-kind-class"><a href="js.math.geom.ellipse.html#constructor" class="tsd-kind-icon">constructor</a></li> </ul> </section> <section class="tsd-index-section "> <h3>Properties</h3> <ul class="tsd-index-list"> <li class="tsd-kind-property tsd-parent-kind-class"><a href="js.math.geom.ellipse.html#rx" class="tsd-kind-icon">rx</a></li> <li class="tsd-kind-property tsd-parent-kind-class"><a href="js.math.geom.ellipse.html#ry" class="tsd-kind-icon">ry</a></li> <li class="tsd-kind-property tsd-parent-kind-class"><a href="js.math.geom.ellipse.html#x" class="tsd-kind-icon">x</a></li> <li class="tsd-kind-property tsd-parent-kind-class"><a href="js.math.geom.ellipse.html#y" class="tsd-kind-icon">y</a></li> </ul> </section> <section class="tsd-index-section "> <h3>Methods</h3> <ul class="tsd-index-list"> <li class="tsd-kind-method tsd-parent-kind-class"><a href="js.math.geom.ellipse.html#area" class="tsd-kind-icon">area</a></li> <li class="tsd-kind-method tsd-parent-kind-class"><a href="js.math.geom.ellipse.html#bounds" class="tsd-kind-icon">bounds</a></li> <li class="tsd-kind-method tsd-parent-kind-class"><a href="js.math.geom.ellipse.html#clone" class="tsd-kind-icon">clone</a></li> <li class="tsd-kind-method tsd-parent-kind-class"><a href="js.math.geom.ellipse.html#equals" class="tsd-kind-icon">equals</a></li> <li class="tsd-kind-method tsd-parent-kind-class"><a href="js.math.geom.ellipse.html#inside" class="tsd-kind-icon">inside</a></li> <li class="tsd-kind-method tsd-parent-kind-class"><a href="js.math.geom.ellipse.html#intersects" class="tsd-kind-icon">intersects</a></li> <li class="tsd-kind-method tsd-parent-kind-class"><a href="js.math.geom.ellipse.html#isempty" class="tsd-kind-icon">is<wbr>Empty</a></li> <li class="tsd-kind-method tsd-parent-kind-class"><a href="js.math.geom.ellipse.html#moveto" class="tsd-kind-icon">move<wbr>To</a></li> <li class="tsd-kind-method tsd-parent-kind-class"><a href="js.math.geom.ellipse.html#onside" class="tsd-kind-icon">onside</a></li> <li class="tsd-kind-method tsd-parent-kind-class"><a href="js.math.geom.ellipse.html#perimeter" class="tsd-kind-icon">perimeter</a></li> <li class="tsd-kind-method tsd-parent-kind-class"><a href="js.math.geom.ellipse.html#set" class="tsd-kind-icon">set</a></li> <li class="tsd-kind-method tsd-parent-kind-class"><a href="js.math.geom.ellipse.html#vertexes" class="tsd-kind-icon">vertexes</a></li> <li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="js.math.geom.ellipse.html#toellipse" class="tsd-kind-icon">to<wbr>Ellipse</a></li> </ul> </section> </div> </section> </section> <section class="tsd-panel-group tsd-member-group "> <h2>Constructors</h2> <section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"> <a name="constructor" class="tsd-anchor"></a> <h3>constructor</h3> <ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class"> <li class="tsd-signature tsd-kind-icon">new <wbr>Ellipse<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="js.math.geom.ellipse.html" class="tsd-signature-type">Ellipse</a></li> <li class="tsd-signature tsd-kind-icon">new <wbr>Ellipse<span class="tsd-signature-symbol">(</span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, rx<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, ry<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="js.math.geom.ellipse.html" class="tsd-signature-type">Ellipse</a></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> </aside> <h4 class="tsd-returns-title">Returns <a href="js.math.geom.ellipse.html" class="tsd-signature-type">Ellipse</a></h4> </li> <li class="tsd-description"> <aside class="tsd-sources"> </aside> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5>x: <span class="tsd-signature-type">number</span></h5> </li> <li> <h5>y: <span class="tsd-signature-type">number</span></h5> </li> <li> <h5>rx: <span class="tsd-signature-type">number</span></h5> </li> <li> <h5>ry: <span class="tsd-signature-type">number</span></h5> </li> </ul> <h4 class="tsd-returns-title">Returns <a href="js.math.geom.ellipse.html" class="tsd-signature-type">Ellipse</a></h4> </li> </ul> </section> </section> <section class="tsd-panel-group tsd-member-group "> <h2>Properties</h2> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"> <a name="rx" class="tsd-anchor"></a> <h3>rx</h3> <div class="tsd-signature tsd-kind-icon">rx<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div> <aside class="tsd-sources"> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>x radius.</p> </div> </div> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"> <a name="ry" class="tsd-anchor"></a> <h3>ry</h3> <div class="tsd-signature tsd-kind-icon">ry<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div> <aside class="tsd-sources"> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>y radius.</p> </div> </div> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"> <a name="x" class="tsd-anchor"></a> <h3>x</h3> <div class="tsd-signature tsd-kind-icon">x<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div> <aside class="tsd-sources"> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Centre point&#39;s X.</p> </div> </div> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"> <a name="y" class="tsd-anchor"></a> <h3>y</h3> <div class="tsd-signature tsd-kind-icon">y<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div> <aside class="tsd-sources"> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Centre point&#39;s Y.</p> </div> </div> </section> </section> <section class="tsd-panel-group tsd-member-group "> <h2>Methods</h2> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"> <a name="area" class="tsd-anchor"></a> <h3>area</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"> <li class="tsd-signature tsd-kind-icon">area<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> </aside> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"> <a name="bounds" class="tsd-anchor"></a> <h3>bounds</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"> <li class="tsd-signature tsd-kind-icon">bounds<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="js.math.geom.rect.html" class="tsd-signature-type">Rect</a></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Implementation of <a href="../interfaces/js.math.geom.shape.html">Shape</a>.<a href="../interfaces/js.math.geom.shape.html#bounds">bounds</a></p> </aside> <h4 class="tsd-returns-title">Returns <a href="js.math.geom.rect.html" class="tsd-signature-type">Rect</a></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"> <a name="clone" class="tsd-anchor"></a> <h3>clone</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"> <li class="tsd-signature tsd-kind-icon">clone<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Implementation of <a href="../interfaces/js.math.geom.shape.html">Shape</a>.<a href="../interfaces/js.math.geom.shape.html#clone">clone</a></p> </aside> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"> <a name="equals" class="tsd-anchor"></a> <h3>equals</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"> <li class="tsd-signature tsd-kind-icon">equals<span class="tsd-signature-symbol">(</span>s<span class="tsd-signature-symbol">: </span><a href="js.math.geom.ellipse.html" class="tsd-signature-type">Ellipse</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> </aside> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5>s: <a href="js.math.geom.ellipse.html" class="tsd-signature-type">Ellipse</a></h5> </li> </ul> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"> <a name="inside" class="tsd-anchor"></a> <h3>inside</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"> <li class="tsd-signature tsd-kind-icon">inside<span class="tsd-signature-symbol">(</span>s<span class="tsd-signature-symbol">: </span><a href="../modules/js.math.html#arraypoint2" class="tsd-signature-type">ArrayPoint2</a><span class="tsd-signature-symbol"> | </span><a href="js.math.geom.segment.html" class="tsd-signature-type">Segment</a><span class="tsd-signature-symbol"> | </span><a href="js.math.geom.rect.html" class="tsd-signature-type">Rect</a><span class="tsd-signature-symbol"> | </span><a href="js.math.geom.triangle.html" class="tsd-signature-type">Triangle</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> </aside> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5>s: <a href="../modules/js.math.html#arraypoint2" class="tsd-signature-type">ArrayPoint2</a><span class="tsd-signature-symbol"> | </span><a href="js.math.geom.segment.html" class="tsd-signature-type">Segment</a><span class="tsd-signature-symbol"> | </span><a href="js.math.geom.rect.html" class="tsd-signature-type">Rect</a><span class="tsd-signature-symbol"> | </span><a href="js.math.geom.triangle.html" class="tsd-signature-type">Triangle</a></h5> </li> </ul> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"> <a name="intersects" class="tsd-anchor"></a> <h3>intersects</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"> <li class="tsd-signature tsd-kind-icon">intersects<span class="tsd-signature-symbol">(</span>s<span class="tsd-signature-symbol">: </span><a href="js.math.geom.segment.html" class="tsd-signature-type">Segment</a><span class="tsd-signature-symbol"> | </span><a href="js.math.geom.line.html" class="tsd-signature-type">Line</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> </aside> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5>s: <a href="js.math.geom.segment.html" class="tsd-signature-type">Segment</a><span class="tsd-signature-symbol"> | </span><a href="js.math.geom.line.html" class="tsd-signature-type">Line</a></h5> </li> </ul> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"> <a name="isempty" class="tsd-anchor"></a> <h3>is<wbr>Empty</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"> <li class="tsd-signature tsd-kind-icon">is<wbr>Empty<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Implementation of <a href="../interfaces/js.math.geom.shape.html">Shape</a>.<a href="../interfaces/js.math.geom.shape.html#isempty">isEmpty</a></p> </aside> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"> <a name="moveto" class="tsd-anchor"></a> <h3>move<wbr>To</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"> <li class="tsd-signature tsd-kind-icon">move<wbr>To<span class="tsd-signature-symbol">(</span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> </aside> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5>x: <span class="tsd-signature-type">number</span></h5> </li> <li> <h5>y: <span class="tsd-signature-type">number</span></h5> </li> </ul> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"> <a name="onside" class="tsd-anchor"></a> <h3>onside</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"> <li class="tsd-signature tsd-kind-icon">onside<span class="tsd-signature-symbol">(</span>p<span class="tsd-signature-symbol">: </span><a href="../modules/js.math.html#arraypoint2" class="tsd-signature-type">ArrayPoint2</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Implementation of <a href="../interfaces/js.math.geom.shape.html">Shape</a>.<a href="../interfaces/js.math.geom.shape.html#onside">onside</a></p> </aside> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5>p: <a href="../modules/js.math.html#arraypoint2" class="tsd-signature-type">ArrayPoint2</a></h5> </li> </ul> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"> <a name="perimeter" class="tsd-anchor"></a> <h3>perimeter</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"> <li class="tsd-signature tsd-kind-icon">perimeter<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Implementation of <a href="../interfaces/js.math.geom.shape.html">Shape</a>.<a href="../interfaces/js.math.geom.shape.html#perimeter">perimeter</a></p> </aside> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"> <a name="set" class="tsd-anchor"></a> <h3>set</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"> <li class="tsd-signature tsd-kind-icon">set<span class="tsd-signature-symbol">(</span>c<span class="tsd-signature-symbol">: </span><a href="js.math.geom.ellipse.html" class="tsd-signature-type">Ellipse</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li> <li class="tsd-signature tsd-kind-icon">set<span class="tsd-signature-symbol">(</span>p<span class="tsd-signature-symbol">: </span><a href="js.math.point2.html" class="tsd-signature-type">Point2</a><span class="tsd-signature-symbol"> | </span><a href="../modules/js.math.html#arraypoint2" class="tsd-signature-type">ArrayPoint2</a>, rx<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, ry<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> </aside> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5>c: <a href="js.math.geom.ellipse.html" class="tsd-signature-type">Ellipse</a></h5> </li> </ul> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4> </li> <li class="tsd-description"> <aside class="tsd-sources"> </aside> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5>p: <a href="js.math.point2.html" class="tsd-signature-type">Point2</a><span class="tsd-signature-symbol"> | </span><a href="../modules/js.math.html#arraypoint2" class="tsd-signature-type">ArrayPoint2</a></h5> </li> <li> <h5>rx: <span class="tsd-signature-type">number</span></h5> </li> <li> <h5>ry: <span class="tsd-signature-type">number</span></h5> </li> </ul> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"> <a name="vertexes" class="tsd-anchor"></a> <h3>vertexes</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"> <li class="tsd-signature tsd-kind-icon">vertexes<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/js.math.html#arraypoint2" class="tsd-signature-type">ArrayPoint2</a><span class="tsd-signature-symbol">[]</span></li> <li class="tsd-signature tsd-kind-icon">vertexes<span class="tsd-signature-symbol">(</span>ps<span class="tsd-signature-symbol">: </span><a href="../modules/js.math.html#arraypoint2" class="tsd-signature-type">ArrayPoint2</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Implementation of <a href="../interfaces/js.math.geom.shape.html">Shape</a>.<a href="../interfaces/js.math.geom.shape.html#vertexes">vertexes</a></p> </aside> <h4 class="tsd-returns-title">Returns <a href="../modules/js.math.html#arraypoint2" class="tsd-signature-type">ArrayPoint2</a><span class="tsd-signature-symbol">[]</span></h4> </li> <li class="tsd-description"> <aside class="tsd-sources"> <p>Implementation of <a href="../interfaces/js.math.geom.shape.html">Shape</a>.<a href="../interfaces/js.math.geom.shape.html#vertexes">vertexes</a></p> </aside> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5>ps: <a href="../modules/js.math.html#arraypoint2" class="tsd-signature-type">ArrayPoint2</a><span class="tsd-signature-symbol">[]</span></h5> </li> </ul> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static"> <a name="toellipse" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagStatic">Static</span> to<wbr>Ellipse</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static"> <li class="tsd-signature tsd-kind-icon">to<wbr>Ellipse<span class="tsd-signature-symbol">(</span>c<span class="tsd-signature-symbol">: </span><a href="../modules/js.math.html#arraypoint2" class="tsd-signature-type">ArrayPoint2</a>, rx<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, ry<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="js.math.geom.ellipse.html" class="tsd-signature-type">Ellipse</a></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> </aside> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5>c: <a href="../modules/js.math.html#arraypoint2" class="tsd-signature-type">ArrayPoint2</a></h5> </li> <li> <h5>rx: <span class="tsd-signature-type">number</span></h5> </li> <li> <h5>ry: <span class="tsd-signature-type">number</span></h5> </li> </ul> <h4 class="tsd-returns-title">Returns <a href="js.math.geom.ellipse.html" class="tsd-signature-type">Ellipse</a></h4> </li> </ul> </section> </section> </div> <div class="col-4 col-menu menu-sticky-wrap menu-highlight"> <nav class="tsd-navigation primary"> <ul> <li class="globals "> <a href="../globals.html"><em>Globals</em></a> </li> <li class="current tsd-kind-namespace"> <a href="../modules/js.html">JS</a> <ul> <li class=" tsd-kind-namespace tsd-parent-kind-namespace"> <a href="../modules/js.an.html">an</a> </li> <li class=" tsd-kind-namespace tsd-parent-kind-namespace"> <a href="../modules/js.app.html">app</a> </li> <li class=" tsd-kind-namespace tsd-parent-kind-namespace"> <a href="../modules/js.core.html">core</a> </li> <li class=" tsd-kind-namespace tsd-parent-kind-namespace"> <a href="../modules/js.d2.html">d2</a> </li> <li class=" tsd-kind-namespace tsd-parent-kind-namespace"> <a href="../modules/js.ds.html">ds</a> </li> <li class=" tsd-kind-namespace tsd-parent-kind-namespace"> <a href="../modules/js.fx.html">fx</a> </li> <li class=" tsd-kind-namespace tsd-parent-kind-namespace"> <a href="../modules/js.input.html">input</a> </li> <li class=" tsd-kind-namespace tsd-parent-kind-namespace"> <a href="../modules/js.ioc.html">ioc</a> </li> <li class=" tsd-kind-namespace tsd-parent-kind-namespace"> <a href="../modules/js.lang.html">lang</a> </li> <li class="current tsd-kind-namespace tsd-parent-kind-namespace"> <a href="../modules/js.math.html">math</a> <ul> <li class="current tsd-kind-namespace tsd-parent-kind-namespace"> <a href="../modules/js.math.geom.html">geom</a> </li> </ul> </li> <li class=" tsd-kind-namespace tsd-parent-kind-namespace"> <a href="../modules/js.media.html">media</a> </li> <li class=" tsd-kind-namespace tsd-parent-kind-namespace"> <a href="../modules/js.model.html">model</a> </li> <li class=" tsd-kind-namespace tsd-parent-kind-namespace"> <a href="../modules/js.net.html">net</a> </li> <li class=" tsd-kind-namespace tsd-parent-kind-namespace"> <a href="../modules/js.store.html">store</a> </li> <li class=" tsd-kind-namespace tsd-parent-kind-namespace"> <a href="../modules/js.sugar.html">sugar</a> </li> <li class=" tsd-kind-namespace tsd-parent-kind-namespace"> <a href="../modules/js.ui.html">ui</a> </li> <li class=" tsd-kind-namespace tsd-parent-kind-namespace"> <a href="../modules/js.unit.html">unit</a> </li> <li class=" tsd-kind-namespace tsd-parent-kind-namespace"> <a href="../modules/js.util.html">util</a> </li> <li class=" tsd-kind-namespace tsd-parent-kind-namespace"> <a href="../modules/js.view.html">view</a> </li> </ul> </li> </ul> </nav> <nav class="tsd-navigation secondary menu-sticky"> <ul class="before-current"> <li class=" tsd-kind-enum tsd-parent-kind-namespace"> <a href="../enums/js.math.geom.angletype.html" class="tsd-kind-icon">Angle<wbr>Type</a> </li> <li class=" tsd-kind-enum tsd-parent-kind-namespace"> <a href="../enums/js.math.geom.arctype.html" class="tsd-kind-icon">Arc<wbr>Type</a> </li> <li class=" tsd-kind-class tsd-parent-kind-namespace"> <a href="js.math.geom.cirarc.html" class="tsd-kind-icon">Cir<wbr>Arc</a> </li> <li class=" tsd-kind-class tsd-parent-kind-namespace"> <a href="js.math.geom.circle.html" class="tsd-kind-icon">Circle</a> </li> </ul> <ul class="current"> <li class="current tsd-kind-class tsd-parent-kind-namespace"> <a href="js.math.geom.ellipse.html" class="tsd-kind-icon">Ellipse</a> <ul> <li class=" tsd-kind-constructor tsd-parent-kind-class"> <a href="js.math.geom.ellipse.html#constructor" class="tsd-kind-icon">constructor</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class"> <a href="js.math.geom.ellipse.html#rx" class="tsd-kind-icon">rx</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class"> <a href="js.math.geom.ellipse.html#ry" class="tsd-kind-icon">ry</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class"> <a href="js.math.geom.ellipse.html#x" class="tsd-kind-icon">x</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class"> <a href="js.math.geom.ellipse.html#y" class="tsd-kind-icon">y</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class"> <a href="js.math.geom.ellipse.html#area" class="tsd-kind-icon">area</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class"> <a href="js.math.geom.ellipse.html#bounds" class="tsd-kind-icon">bounds</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class"> <a href="js.math.geom.ellipse.html#clone" class="tsd-kind-icon">clone</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class"> <a href="js.math.geom.ellipse.html#equals" class="tsd-kind-icon">equals</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class"> <a href="js.math.geom.ellipse.html#inside" class="tsd-kind-icon">inside</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class"> <a href="js.math.geom.ellipse.html#intersects" class="tsd-kind-icon">intersects</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class"> <a href="js.math.geom.ellipse.html#isempty" class="tsd-kind-icon">is<wbr>Empty</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class"> <a href="js.math.geom.ellipse.html#moveto" class="tsd-kind-icon">move<wbr>To</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class"> <a href="js.math.geom.ellipse.html#onside" class="tsd-kind-icon">onside</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class"> <a href="js.math.geom.ellipse.html#perimeter" class="tsd-kind-icon">perimeter</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class"> <a href="js.math.geom.ellipse.html#set" class="tsd-kind-icon">set</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class"> <a href="js.math.geom.ellipse.html#vertexes" class="tsd-kind-icon">vertexes</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static"> <a href="js.math.geom.ellipse.html#toellipse" class="tsd-kind-icon">to<wbr>Ellipse</a> </li> </ul> </li> </ul> <ul class="after-current"> <li class=" tsd-kind-class tsd-parent-kind-namespace"> <a href="js.math.geom.line.html" class="tsd-kind-icon">Line</a> </li> <li class=" tsd-kind-class tsd-parent-kind-namespace"> <a href="js.math.geom.polygon.html" class="tsd-kind-icon">Polygon</a> </li> <li class=" tsd-kind-class tsd-parent-kind-namespace"> <a href="js.math.geom.polyline.html" class="tsd-kind-icon">Polyline</a> </li> <li class=" tsd-kind-class tsd-parent-kind-namespace"> <a href="js.math.geom.rect.html" class="tsd-kind-icon">Rect</a> </li> <li class=" tsd-kind-class tsd-parent-kind-namespace"> <a href="js.math.geom.segment.html" class="tsd-kind-icon">Segment</a> </li> <li class=" tsd-kind-class tsd-parent-kind-namespace"> <a href="js.math.geom.shapes.html" class="tsd-kind-icon">Shapes</a> </li> <li class=" tsd-kind-class tsd-parent-kind-namespace"> <a href="js.math.geom.triangle.html" class="tsd-kind-icon">Triangle</a> </li> <li class=" tsd-kind-interface tsd-parent-kind-namespace"> <a href="../interfaces/js.math.geom.shape.html" class="tsd-kind-icon">Shape</a> </li> <li class=" tsd-kind-variable tsd-parent-kind-namespace tsd-is-not-exported"> <a href="../modules/js.math.geom.html#f" class="tsd-kind-icon">F</a> </li> <li class=" tsd-kind-variable tsd-parent-kind-namespace tsd-is-not-exported"> <a href="../modules/js.math.geom.html#l" class="tsd-kind-icon">L</a> </li> <li class=" tsd-kind-variable tsd-parent-kind-namespace tsd-is-not-exported"> <a href="../modules/js.math.geom.html#m" class="tsd-kind-icon">M</a> </li> <li class=" tsd-kind-variable tsd-parent-kind-namespace tsd-is-not-exported"> <a href="../modules/js.math.geom.html#n" class="tsd-kind-icon">N</a> </li> <li class=" tsd-kind-variable tsd-parent-kind-namespace tsd-is-not-exported"> <a href="../modules/js.math.geom.html#p" class="tsd-kind-icon">P</a> </li> <li class=" tsd-kind-variable tsd-parent-kind-namespace tsd-is-not-exported"> <a href="../modules/js.math.geom.html#r" class="tsd-kind-icon">R</a> </li> <li class=" tsd-kind-variable tsd-parent-kind-namespace tsd-is-not-exported"> <a href="../modules/js.math.geom.html#s" class="tsd-kind-icon">S</a> </li> <li class=" tsd-kind-variable tsd-parent-kind-namespace tsd-is-not-exported"> <a href="../modules/js.math.geom.html#v" class="tsd-kind-icon">V</a> </li> <li class=" tsd-kind-function tsd-parent-kind-namespace tsd-is-not-exported"> <a href="../modules/js.math.geom.html#indiagonalrect" class="tsd-kind-icon">in<wbr>Diagonal<wbr>Rect</a> </li> <li class=" tsd-kind-function tsd-parent-kind-namespace tsd-is-not-exported"> <a href="../modules/js.math.geom.html#relativeccw" class="tsd-kind-icon">relativeCCW</a> </li> </ul> </nav> </div> </div> </div> <footer> <div class="container"> <h2>Legend</h2> <div class="tsd-legend-group"> <ul class="tsd-legend"> <li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li> <li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li> <li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li> </ul> <ul class="tsd-legend"> <li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li> <li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li> </ul> <ul class="tsd-legend"> <li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li> </ul> </div> </div> </footer> <div class="overlay"></div> <script src="../assets/js/main.js"></script> <script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script> </body> </html>