forked from AlexxNica/source-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSize.html
More file actions
1 lines (1 loc) · 5.36 KB
/
Size.html
File metadata and controls
1 lines (1 loc) · 5.36 KB
1
<!DOCTYPE html><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"><meta http-equiv="Content-Language" content="en"><meta http-equiv="X-UA-Compatible" content="IE=edge"><link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"><title>Size</title><link href="dossier.css" rel="stylesheet" type="text/css"><header><button class="dossier-menu"><i class="material-icons">menu</i></button><form><input type="search" placeholder="Search" tabindex="1"><i class="material-icons">search</i></form></header><div class="content"><main><article><section class="intro"><div class="codelink"><a href="source/front_end/common/Geometry.js.src.html#l338">View Source</a></div><h1 class="title"><div>class Size</div></h1><p>No description available.</p><h3 class="name"><div>new Size(<wbr>width,<wbr> height)</div></h3><dt class="spec">Parameters</dt><dd><dl><dt class="named">width<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a></code><dt class="named">height<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a></code></dl></dd></section><section class="instance-methods"><h2>Instance Methods</h2><section class="property" id="addHeight"><div class="code-link"><a href="source/front_end/common/Geometry.js.src.html#l384" title="View source"><i class="material-icons">code</i></a></div><h3 class="name"><div>addHeight(<wbr>size)</div></h3><dl><dt class="spec">Parameters</dt><dd><dl><dt class="named">size<code>(<a href="Size.html">Size</a>|<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>)</code></dl></dd><dt class="spec">Returns</dt><dd><dl><dt><code><a href="Size.html">Size</a></code></dl></dd></dl></section><section class="property" id="addWidth"><div class="code-link"><a href="source/front_end/common/Geometry.js.src.html#l366" title="View source"><i class="material-icons">code</i></a></div><h3 class="name"><div>addWidth(<wbr>size)</div></h3><dl><dt class="spec">Parameters</dt><dd><dl><dt class="named">size<code>(<a href="Size.html">Size</a>|<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>)</code></dl></dd><dt class="spec">Returns</dt><dd><dl><dt><code><a href="Size.html">Size</a></code></dl></dd></dl></section><section class="property" id="heightToMax"><div class="code-link"><a href="source/front_end/common/Geometry.js.src.html#l375" title="View source"><i class="material-icons">code</i></a></div><h3 class="name"><div>heightToMax(<wbr>size)</div></h3><dl><dt class="spec">Parameters</dt><dd><dl><dt class="named">size<code>(<a href="Size.html">Size</a>|<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>)</code></dl></dd><dt class="spec">Returns</dt><dd><dl><dt><code><a href="Size.html">Size</a></code></dl></dd></dl></section><section class="property" id="isEqual"><div class="code-link"><a href="source/front_end/common/Geometry.js.src.html#l348" title="View source"><i class="material-icons">code</i></a></div><h3 class="name"><div>isEqual(<wbr>size)</div></h3><dl><dt class="spec">Parameters</dt><dd><dl><dt class="named">size<code><a href="Size.html">Size</a></code></dl></dd><dt class="spec">Returns</dt><dd><dl><dt><code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean">boolean</a></code></dl></dd></dl></section><section class="property" id="widthToMax"><div class="code-link"><a href="source/front_end/common/Geometry.js.src.html#l357" title="View source"><i class="material-icons">code</i></a></div><h3 class="name"><div>widthToMax(<wbr>size)</div></h3><dl><dt class="spec">Parameters</dt><dd><dl><dt class="named">size<code>(<a href="Size.html">Size</a>|<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>)</code></dl></dd><dt class="spec">Returns</dt><dd><dl><dt><code><a href="Size.html">Size</a></code></dl></dd></dl></section></section><section class="instance-properties"><h2>Instance Properties</h2><section class="property" id="height"><div class="code-link"><a href="source/front_end/common/Geometry.js.src.html#l341" title="View source"><i class="material-icons">code</i></a></div><h3 class="name"><div>height</div></h3><dl><dt class="spec">Type<dd><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a></dd></dl></section><section class="property" id="width"><div class="code-link"><a href="source/front_end/common/Geometry.js.src.html#l340" title="View source"><i class="material-icons">code</i></a></div><h3 class="name"><div>width</div></h3><dl><dt class="spec">Type<dd><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a></dd></dl></section></section></article></main><footer><div><a href="https://github.com/jleyba/js-dossier">Generated by dossier</a></div></footer></div><nav class="dossier-nav"><section><a class="title" href="index.html" tabindex="2">Overview</a></section><section class="types"><div class="toggle"><div class="title"><span class="item" tabindex="2">Types</span><i class="material-icons">expand_more</i></div></div></section></nav><script src="types.js"></script><script src="dossier.js"></script>