|
@@ -0,0 +1,5954 @@
|
|
|
+<!DOCTYPE html>
|
|
|
+<html lang="en">
|
|
|
+<head>
|
|
|
+ <meta charset="utf-8">
|
|
|
+ <title>JSDoc: Class: Gauge</title>
|
|
|
+
|
|
|
+ <script src="scripts/prettify/prettify.js"> </script>
|
|
|
+ <script src="scripts/prettify/lang-css.js"> </script>
|
|
|
+ <!--[if lt IE 9]>
|
|
|
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
|
+ <![endif]-->
|
|
|
+ <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
|
|
+ <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
|
|
+</head>
|
|
|
+
|
|
|
+<body>
|
|
|
+
|
|
|
+<div id="main">
|
|
|
+
|
|
|
+ <h1 class="page-title">Class: Gauge</h1>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<section>
|
|
|
+
|
|
|
+<header>
|
|
|
+
|
|
|
+ <h2><span class="attribs"><span class="type-signature"></span></span>Gauge<span class="signature">()</span><span class="type-signature"></span></h2>
|
|
|
+
|
|
|
+
|
|
|
+</header>
|
|
|
+
|
|
|
+<article>
|
|
|
+ <div class="container-overview">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h4 class="name" id="Gauge"><span class="type-signature"></span>new Gauge<span class="signature">()</span><span class="type-signature"></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Gauge object is used to draw gauge like graphic.
|
|
|
+
|
|
|
+It has a defined range, start angle, end angle and style controls.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="objects_chart_Gauge.js.html">objects/chart/Gauge.js</a>, <a href="objects_chart_Gauge.js.html#line14">line 14</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+ <h3 class="subsection-title">Extends</h3>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <ul>
|
|
|
+ <li><a href="Object2D.html">Object2D</a></li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h3 class="subsection-title">Members</h3>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="barStyle"><span class="type-signature"></span>barStyle<span class="type-signature"> :<a href="Style.html">Style</a></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Style of the gauge bar.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type"><a href="Style.html">Style</a></span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="objects_chart_Gauge.js.html">objects/chart/Gauge.js</a>, <a href="objects_chart_Gauge.js.html#line86">line 86</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="baseStyle"><span class="type-signature"></span>baseStyle<span class="type-signature"> :<a href="Style.html">Style</a></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Style of the base of the gauge object, (the background of the gauge bar).
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type"><a href="Style.html">Style</a></span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="objects_chart_Gauge.js.html">objects/chart/Gauge.js</a>, <a href="objects_chart_Gauge.js.html#line79">line 79</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="beingDragged"><span class="type-signature"></span>beingDragged<span class="type-signature"> :boolean</span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Flag to indicate if the object is currently being dragged.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">boolean</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#beingDragged">Object2D#beingDragged</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line201">line 201</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="children"><span class="type-signature"></span>children<span class="type-signature"> :Array.<<a href="Object2D.html">Object2D</a>></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ List of children objects attached to the object.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">Array.<<a href="Object2D.html">Object2D</a>></span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#children">Object2D#children</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line28">line 28</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="dial"><span class="type-signature"></span>dial<span class="type-signature"> :boolean</span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ If true draw a circular dial at the end of the gauge bar.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">boolean</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="objects_chart_Gauge.js.html">objects/chart/Gauge.js</a>, <a href="objects_chart_Gauge.js.html#line72">line 72</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="draggable"><span class="type-signature"></span>draggable<span class="type-signature"> :boolean</span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Draggable controls if its possible to drag the object around. Set this true to enable dragging events on this object.
|
|
|
+
|
|
|
+The onPointerDrag callback is used to update the state of the object while being dragged, by default it just updates the object position.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">boolean</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#draggable">Object2D#draggable</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line155">line 155</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="draw"><span class="type-signature"></span>draw<span class="type-signature"></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Draw the object into the canvas, this is called transform() and style(), should be where the content is actually drawn into the canvas.
|
|
|
+
|
|
|
+Should be implemented by underlying classes.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-overrides">Overrides:</dt>
|
|
|
+ <dd class="tag-overrides"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#draw">Object2D#draw</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line484">line 484</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="endAngle"><span class="type-signature"></span>endAngle<span class="type-signature"> :number</span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ End angle of the gauge.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">number</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="objects_chart_Gauge.js.html">objects/chart/Gauge.js</a>, <a href="objects_chart_Gauge.js.html#line65">line 65</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="globalMatrix"><span class="type-signature"></span>globalMatrix<span class="type-signature"> :<a href="Matrix.html">Matrix</a></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Global transformation matrix multiplied by the parent matrix.
|
|
|
+
|
|
|
+Used to transform the object before projecting into screen coordinates.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type"><a href="Matrix.html">Matrix</a></span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#globalMatrix">Object2D#globalMatrix</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line110">line 110</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="ignoreViewport"><span class="type-signature"></span>ignoreViewport<span class="type-signature"> :boolean</span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Flag to indicate whether this object ignores the viewport transformation.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">boolean</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#ignoreViewport">Object2D#ignoreViewport</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line171">line 171</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="inverseGlobalMatrix"><span class="type-signature"></span>inverseGlobalMatrix<span class="type-signature"> :<a href="Matrix.html">Matrix</a></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Inverse of the global (world) transform matrix.
|
|
|
+
|
|
|
+Used to convert pointer input points (viewport space) into object coordinates.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type"><a href="Matrix.html">Matrix</a></span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#inverseGlobalMatrix">Object2D#inverseGlobalMatrix</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line119">line 119</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="layer"><span class="type-signature"></span>layer<span class="type-signature"> :number</span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Layer of this object, objects are sorted by layer value.
|
|
|
+
|
|
|
+Lower layer value is draw first, higher layer value is drawn on top.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">number</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#layer">Object2D#layer</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line94">line 94</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="level"><span class="type-signature"></span>level<span class="type-signature"> :number</span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Depth level in the object tree, objects with higher depth are drawn on top.
|
|
|
+
|
|
|
+The layer value is considered first.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">number</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#level">Object2D#level</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line44">line 44</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="lineWidth"><span class="type-signature"></span>lineWidth<span class="type-signature"> :number</span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ The line width of the gauge semi-circle.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">number</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="objects_chart_Gauge.js.html">objects/chart/Gauge.js</a>, <a href="objects_chart_Gauge.js.html#line51">line 51</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="masks"><span class="type-signature"></span>masks<span class="type-signature"> :Array.<<a href="Mask.html">Mask</a>></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Mask objects being applied to this object. Used to mask/subtract portions of this object when rendering.
|
|
|
+
|
|
|
+Multiple masks can be used simultaneously. Same mask might be reused for multiple objects.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">Array.<<a href="Mask.html">Mask</a>></span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#masks">Object2D#masks</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line128">line 128</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="matrix"><span class="type-signature"></span>matrix<span class="type-signature"> :<a href="Matrix.html">Matrix</a></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Local transformation matrix applied to the object.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type"><a href="Matrix.html">Matrix</a></span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#matrix">Object2D#matrix</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line101">line 101</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="matrixAutoUpdate"><span class="type-signature"></span>matrixAutoUpdate<span class="type-signature"> :boolean</span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Indicates if the transform matrix should be automatically updated every frame.
|
|
|
+
|
|
|
+Set this false for better performance. But if you do so dont forget to set matrixNeedsUpdate every time that a transform attribute is changed.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">boolean</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#matrixAutoUpdate">Object2D#matrixAutoUpdate</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line137">line 137</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="matrixNeedsUpdate"><span class="type-signature"></span>matrixNeedsUpdate<span class="type-signature"> :boolean</span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Indicates if the matrix needs to be updated, should be set true after changes to the object position, scale or rotation.
|
|
|
+
|
|
|
+The matrix is updated before rendering the object, after the matrix is updated this attribute is automatically reset to false.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">boolean</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#matrixNeedsUpdate">Object2D#matrixNeedsUpdate</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line146">line 146</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="max"><span class="type-signature"></span>max<span class="type-signature"> :number</span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Maximum value of the gauge. Necessary to display the value correctly to scale.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">number</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="objects_chart_Gauge.js.html">objects/chart/Gauge.js</a>, <a href="objects_chart_Gauge.js.html#line37">line 37</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="min"><span class="type-signature"></span>min<span class="type-signature"> :number</span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Minimum value of the gauge. Necessary to display the value correctly to scale.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">number</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="objects_chart_Gauge.js.html">objects/chart/Gauge.js</a>, <a href="objects_chart_Gauge.js.html#line30">line 30</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="onAdd"><span class="type-signature"></span>onAdd<span class="type-signature"></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Method called when the object its added to a parent.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#onAdd">Object2D#onAdd</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line526">line 526</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="onButtonDown"><span class="type-signature"></span>onButtonDown<span class="type-signature"></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Callback method called when the pointer button is pressed down (single time).
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#onButtonDown">Object2D#onButtonDown</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line592">line 592</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="onButtonPressed"><span class="type-signature"></span>onButtonPressed<span class="type-signature"></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Method called while the pointer button is pressed.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#onButtonPressed">Object2D#onButtonPressed</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line576">line 576</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="onButtonUp"><span class="type-signature"></span>onButtonUp<span class="type-signature"></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Method called when the pointer button is released (single time).
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#onButtonUp">Object2D#onButtonUp</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line600">line 600</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="onDoubleClick"><span class="type-signature"></span>onDoubleClick<span class="type-signature"></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Method called while the pointer button is double clicked.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#onDoubleClick">Object2D#onDoubleClick</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line584">line 584</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="onPointerDragEnd"><span class="type-signature"></span>onPointerDragEnd<span class="type-signature"></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Callback method called when the pointer drag ends after the button has been released.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#onPointerDragEnd">Object2D#onPointerDragEnd</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line519">line 519</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="onPointerDragStart"><span class="type-signature"></span>onPointerDragStart<span class="type-signature"></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Callback method called when the pointer drag start after the button was pressed
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#onPointerDragStart">Object2D#onPointerDragStart</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line511">line 511</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="onPointerEnter"><span class="type-signature"></span>onPointerEnter<span class="type-signature"></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Callback method called when the pointer enters the object.
|
|
|
+
|
|
|
+It is not called while the pointer is inside of the object, just on the first time that the pointer enters the object for that use onPointerOver()
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#onPointerEnter">Object2D#onPointerEnter</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line552">line 552</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="onPointerLeave"><span class="type-signature"></span>onPointerLeave<span class="type-signature"></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Method called when the was inside of the object and leaves the object.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#onPointerLeave">Object2D#onPointerLeave</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line560">line 560</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="onPointerOver"><span class="type-signature"></span>onPointerOver<span class="type-signature"></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Method while the pointer is over (inside) of the object.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#onPointerOver">Object2D#onPointerOver</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line568">line 568</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="onRemove"><span class="type-signature"></span>onRemove<span class="type-signature"></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Method called when the object gets removed from its parent
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#onRemove">Object2D#onRemove</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line533">line 533</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="onUpdate"><span class="type-signature"></span>onUpdate<span class="type-signature"></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Callback method called every time before the object is draw into the canvas.
|
|
|
+
|
|
|
+Should be used to run object logic, any preparation code, move the object, etc.
|
|
|
+
|
|
|
+This method is called for every object before rendering.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#onUpdate">Object2D#onUpdate</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line542">line 542</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="origin"><span class="type-signature"></span>origin<span class="type-signature"> :<a href="Vector2.html">Vector2</a></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Origin of the object used as point of rotation.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type"><a href="Vector2.html">Vector2</a></span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#origin">Object2D#origin</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line60">line 60</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="parent"><span class="type-signature"></span>parent<span class="type-signature"> :<a href="Object2D.html">Object2D</a></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Parent object, the object position is affected by its parent position.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type"><a href="Object2D.html">Object2D</a></span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#parent">Object2D#parent</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line35">line 35</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="pointerEvents"><span class="type-signature"></span>pointerEvents<span class="type-signature"> :boolean</span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Indicates if this object uses pointer events.
|
|
|
+
|
|
|
+Can be set false to skip the pointer interaction events, better performance if pointer events are not required.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">boolean</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#pointerEvents">Object2D#pointerEvents</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line164">line 164</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="pointerInside"><span class="type-signature"></span>pointerInside<span class="type-signature"> :boolean</span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Flag indicating if the pointer is inside of the element.
|
|
|
+
|
|
|
+Used to control object event.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">boolean</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#pointerInside">Object2D#pointerInside</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line194">line 194</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="position"><span class="type-signature"></span>position<span class="type-signature"> :<a href="Vector2.html">Vector2</a></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Position of the object.
|
|
|
+
|
|
|
+The world position of the object is affected by its parent transform.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type"><a href="Vector2.html">Vector2</a></span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#position">Object2D#position</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line53">line 53</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="radius"><span class="type-signature"></span>radius<span class="type-signature"> :number</span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Radius of the gauge object.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">number</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="objects_chart_Gauge.js.html">objects/chart/Gauge.js</a>, <a href="objects_chart_Gauge.js.html#line44">line 44</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="restoreContextState"><span class="type-signature"></span>restoreContextState<span class="type-signature"> :boolean</span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Flag to indicate if the context of canvas should be restored after render.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">boolean</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#restoreContextState">Object2D#restoreContextState</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line185">line 185</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="rotation"><span class="type-signature"></span>rotation<span class="type-signature"> :number</span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Rotation of the object relative to its center.
|
|
|
+
|
|
|
+The world rotation of the object is affected by the parent transform.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">number</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#rotation">Object2D#rotation</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line78">line 78</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="saveContextState"><span class="type-signature"></span>saveContextState<span class="type-signature"> :boolean</span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Flag to indicate if the context of canvas should be saved before render.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">boolean</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#saveContextState">Object2D#saveContextState</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line178">line 178</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="scale"><span class="type-signature"></span>scale<span class="type-signature"> :<a href="Vector2.html">Vector2</a></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Scale of the object.
|
|
|
+
|
|
|
+The world scale of the object is affected by the parent transform.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type"><a href="Vector2.html">Vector2</a></span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#scale">Object2D#scale</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line69">line 69</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="serializable"><span class="type-signature"></span>serializable<span class="type-signature"> :boolean</span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Indicates if the object should be serialized or not as a child of another object.
|
|
|
+
|
|
|
+Used to prevent duplicate serialization data on custom objects. Should be set false for objects added on constructor.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">boolean</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#serializable">Object2D#serializable</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line210">line 210</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="startAngle"><span class="type-signature"></span>startAngle<span class="type-signature"> :number</span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Start angle of the gauge.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">number</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="objects_chart_Gauge.js.html">objects/chart/Gauge.js</a>, <a href="objects_chart_Gauge.js.html#line58">line 58</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="style"><span class="type-signature"></span>style<span class="type-signature"></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Style is called right before draw() it should not draw any content into the canvas, all context styling should be applied here (colors, fonts, etc).
|
|
|
+
|
|
|
+The draw() and style() methods can be useful for objects that share the same styling attributes but are drawing differently.
|
|
|
+
|
|
|
+Should be implemented by underlying classes.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#style">Object2D#style</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line473">line 473</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="type"><span class="type-signature"></span>type<span class="type-signature"> :string</span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Type of the object, used for data serialization and/or checking the object type.
|
|
|
+
|
|
|
+The name used should match the object constructor name. But it is not required.
|
|
|
+
|
|
|
+If this type is from an external library you can add the library name to the object type name to prevent collisions.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">string</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-overrides">Overrides:</dt>
|
|
|
+ <dd class="tag-overrides"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#type">Object2D#type</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line224">line 224</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="uuid"><span class="type-signature"></span>uuid<span class="type-signature"> :string</span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ UUID of the object.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">string</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#uuid">Object2D#uuid</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line21">line 21</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="value"><span class="type-signature"></span>value<span class="type-signature"> :number</span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Value displayed by this gauge. It is displayed based on min and max values.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">number</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="objects_chart_Gauge.js.html">objects/chart/Gauge.js</a>, <a href="objects_chart_Gauge.js.html#line23">line 23</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h4 class="name" id="visible"><span class="type-signature"></span>visible<span class="type-signature"> :boolean</span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Indicates if the object is visible.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">boolean</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#visible">Object2D#visible</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line85">line 85</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h3 class="subsection-title">Methods</h3>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h4 class="name" id="add"><span class="type-signature"></span>add<span class="signature">(object)</span><span class="type-signature"></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Attach a children to this object.
|
|
|
+
|
|
|
+The object is set as children of this object and the transformations applied to this object are traversed to its children.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Parameters:</h5>
|
|
|
+
|
|
|
+
|
|
|
+<table class="params">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <th>Name</th>
|
|
|
+
|
|
|
+
|
|
|
+ <th>Type</th>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <th class="last">Description</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+
|
|
|
+ <tbody>
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <td class="name"><code>object</code></td>
|
|
|
+
|
|
|
+
|
|
|
+ <td class="type">
|
|
|
+
|
|
|
+
|
|
|
+<span class="param-type"><a href="Object2D.html">Object2D</a></span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <td class="description last">Object to attach to this object.</td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+ </tbody>
|
|
|
+</table>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#add">Object2D#add</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line367">line 367</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h4 class="name" id="destroy"><span class="type-signature"></span>destroy<span class="signature">()</span><span class="type-signature"></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Destroy the object, removes it from the parent object.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#destroy">Object2D#destroy</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line316">line 316</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h4 class="name" id="getChildByUUID"><span class="type-signature"></span>getChildByUUID<span class="signature">(uuid)</span><span class="type-signature"> → {<a href="Object2D.html">Object2D</a>}</span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Get a object from its children list by its UUID.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Parameters:</h5>
|
|
|
+
|
|
|
+
|
|
|
+<table class="params">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <th>Name</th>
|
|
|
+
|
|
|
+
|
|
|
+ <th>Type</th>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <th class="last">Description</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+
|
|
|
+ <tbody>
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <td class="name"><code>uuid</code></td>
|
|
|
+
|
|
|
+
|
|
|
+ <td class="type">
|
|
|
+
|
|
|
+
|
|
|
+<span class="param-type">string</span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <td class="description last">UUID of the object to get.</td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+ </tbody>
|
|
|
+</table>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#getChildByUUID">Object2D#getChildByUUID</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line345">line 345</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h5>Returns:</h5>
|
|
|
+
|
|
|
+
|
|
|
+<div class="param-desc">
|
|
|
+ The object that has the UUID specified, null if the object was not found.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl>
|
|
|
+ <dt>
|
|
|
+ Type
|
|
|
+ </dt>
|
|
|
+ <dd>
|
|
|
+
|
|
|
+<span class="param-type"><a href="Object2D.html">Object2D</a></span>
|
|
|
+
|
|
|
+
|
|
|
+ </dd>
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h4 class="name" id="getWorldPointIntersections"><span class="type-signature"></span>getWorldPointIntersections<span class="signature">(point, list)</span><span class="type-signature"> → {Array.<<a href="Object2D.html">Object2D</a>>}</span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Check if a point in world coordinates intersects this object or its children and get a list of the objects intersected.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Parameters:</h5>
|
|
|
+
|
|
|
+
|
|
|
+<table class="params">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <th>Name</th>
|
|
|
+
|
|
|
+
|
|
|
+ <th>Type</th>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <th class="last">Description</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+
|
|
|
+ <tbody>
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <td class="name"><code>point</code></td>
|
|
|
+
|
|
|
+
|
|
|
+ <td class="type">
|
|
|
+
|
|
|
+
|
|
|
+<span class="param-type"><a href="Vector2.html">Vector2</a></span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <td class="description last">Point in world coordinates.</td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <td class="name"><code>list</code></td>
|
|
|
+
|
|
|
+
|
|
|
+ <td class="type">
|
|
|
+
|
|
|
+
|
|
|
+<span class="param-type">Array.<<a href="Object2D.html">Object2D</a>></span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <td class="description last">List of objects intersected passed to children objects recursively.</td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+ </tbody>
|
|
|
+</table>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#getWorldPointIntersections">Object2D#getWorldPointIntersections</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line258">line 258</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h5>Returns:</h5>
|
|
|
+
|
|
|
+
|
|
|
+<div class="param-desc">
|
|
|
+ List of object intersected by this point.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl>
|
|
|
+ <dt>
|
|
|
+ Type
|
|
|
+ </dt>
|
|
|
+ <dd>
|
|
|
+
|
|
|
+<span class="param-type">Array.<<a href="Object2D.html">Object2D</a>></span>
|
|
|
+
|
|
|
+
|
|
|
+ </dd>
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h4 class="name" id="isInside"><span class="type-signature"></span>isInside<span class="signature">(point)</span><span class="type-signature"> → {boolean}</span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Check if a point is inside of the object. Used by the renderer check for pointer collision (required for the object to properly process pointer events).
|
|
|
+
|
|
|
+Point should be in local object coordinates.
|
|
|
+
|
|
|
+To check if a point in world coordinates intersects the object the inverseGlobalMatrix should be applied to that point before calling this method.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Parameters:</h5>
|
|
|
+
|
|
|
+
|
|
|
+<table class="params">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <th>Name</th>
|
|
|
+
|
|
|
+
|
|
|
+ <th>Type</th>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <th class="last">Description</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+
|
|
|
+ <tbody>
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <td class="name"><code>point</code></td>
|
|
|
+
|
|
|
+
|
|
|
+ <td class="type">
|
|
|
+
|
|
|
+
|
|
|
+<span class="param-type"><a href="Vector2.html">Vector2</a></span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <td class="description last">Point in local object coordinates.</td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+ </tbody>
|
|
|
+</table>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-overrides">Overrides:</dt>
|
|
|
+ <dd class="tag-overrides"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#isInside">Object2D#isInside</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line420">line 420</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h5>Returns:</h5>
|
|
|
+
|
|
|
+
|
|
|
+<div class="param-desc">
|
|
|
+ True if the point is inside of the object.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl>
|
|
|
+ <dt>
|
|
|
+ Type
|
|
|
+ </dt>
|
|
|
+ <dd>
|
|
|
+
|
|
|
+<span class="param-type">boolean</span>
|
|
|
+
|
|
|
+
|
|
|
+ </dd>
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h4 class="name" id="isWorldPointInside"><span class="type-signature"></span>isWorldPointInside<span class="signature">(point, recursive)</span><span class="type-signature"> → {boolean}</span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Check if a point in world coordinates intersects this object or some of its children.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Parameters:</h5>
|
|
|
+
|
|
|
+
|
|
|
+<table class="params">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <th>Name</th>
|
|
|
+
|
|
|
+
|
|
|
+ <th>Type</th>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <th class="last">Description</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+
|
|
|
+ <tbody>
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <td class="name"><code>point</code></td>
|
|
|
+
|
|
|
+
|
|
|
+ <td class="type">
|
|
|
+
|
|
|
+
|
|
|
+<span class="param-type"><a href="Vector2.html">Vector2</a></span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <td class="description last">Point in world coordinates.</td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <td class="name"><code>recursive</code></td>
|
|
|
+
|
|
|
+
|
|
|
+ <td class="type">
|
|
|
+
|
|
|
+
|
|
|
+<span class="param-type">boolean</span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <td class="description last">If set to true it will also check intersections with the object children.</td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+ </tbody>
|
|
|
+</table>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#isWorldPointInside">Object2D#isWorldPointInside</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line288">line 288</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h5>Returns:</h5>
|
|
|
+
|
|
|
+
|
|
|
+<div class="param-desc">
|
|
|
+ Returns true if the point in inside of the object.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl>
|
|
|
+ <dt>
|
|
|
+ Type
|
|
|
+ </dt>
|
|
|
+ <dd>
|
|
|
+
|
|
|
+<span class="param-type">boolean</span>
|
|
|
+
|
|
|
+
|
|
|
+ </dd>
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h4 class="name" id="onPointerDrag"><span class="type-signature"></span>onPointerDrag<span class="signature">(pointer, viewport, delta, positionWorld)</span><span class="type-signature"></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Callback method while the object is being dragged across the screen.
|
|
|
+
|
|
|
+By default is adds the delta value to the object position (making it follow the mouse movement).
|
|
|
+
|
|
|
+Delta is the movement of the pointer already translated into local object coordinates.
|
|
|
+
|
|
|
+To detect when the object drag stops the onPointerDragEnd() method can be used.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Parameters:</h5>
|
|
|
+
|
|
|
+
|
|
|
+<table class="params">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <th>Name</th>
|
|
|
+
|
|
|
+
|
|
|
+ <th>Type</th>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <th class="last">Description</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+
|
|
|
+ <tbody>
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <td class="name"><code>pointer</code></td>
|
|
|
+
|
|
|
+
|
|
|
+ <td class="type">
|
|
|
+
|
|
|
+
|
|
|
+<span class="param-type"><a href="Pointer.html">Pointer</a></span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <td class="description last">Pointer object that receives the user input.</td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <td class="name"><code>viewport</code></td>
|
|
|
+
|
|
|
+
|
|
|
+ <td class="type">
|
|
|
+
|
|
|
+
|
|
|
+<span class="param-type"><a href="Viewport.html">Viewport</a></span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <td class="description last">Viewport where the object is drawn.</td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <td class="name"><code>delta</code></td>
|
|
|
+
|
|
|
+
|
|
|
+ <td class="type">
|
|
|
+
|
|
|
+
|
|
|
+<span class="param-type"><a href="Vector2.html">Vector2</a></span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <td class="description last">Pointer movement diff in world space since the last frame.</td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <td class="name"><code>positionWorld</code></td>
|
|
|
+
|
|
|
+
|
|
|
+ <td class="type">
|
|
|
+
|
|
|
+
|
|
|
+<span class="param-type"><a href="Vector2.html">Vector2</a></span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <td class="description last">Position of the dragging pointer in world coordinates.</td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+ </tbody>
|
|
|
+</table>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#onPointerDrag">Object2D#onPointerDrag</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line500">line 500</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h4 class="name" id="parse"><span class="type-signature"></span>parse<span class="signature">(data, root)</span><span class="type-signature"></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Parse serialized object data and fill the object attributes.
|
|
|
+
|
|
|
+Implementations of this method should only load the attributes added to the structure, the based method already loads common attributes.
|
|
|
+
|
|
|
+Dont forget to register object types using the Object2D.register() method.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Parameters:</h5>
|
|
|
+
|
|
|
+
|
|
|
+<table class="params">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <th>Name</th>
|
|
|
+
|
|
|
+
|
|
|
+ <th>Type</th>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <th class="last">Description</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+
|
|
|
+ <tbody>
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <td class="name"><code>data</code></td>
|
|
|
+
|
|
|
+
|
|
|
+ <td class="type">
|
|
|
+
|
|
|
+
|
|
|
+<span class="param-type">Object</span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <td class="description last">Object data loaded from JSON.</td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <td class="name"><code>root</code></td>
|
|
|
+
|
|
|
+
|
|
|
+ <td class="type">
|
|
|
+
|
|
|
+
|
|
|
+<span class="param-type"><a href="Object2D.html">Object2D</a></span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <td class="description last">Root object being loaded can be used to get references to other objects.</td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+ </tbody>
|
|
|
+</table>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-overrides">Overrides:</dt>
|
|
|
+ <dd class="tag-overrides"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#parse">Object2D#parse</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line665">line 665</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h4 class="name" id="remove"><span class="type-signature"></span>remove<span class="signature">(children)</span><span class="type-signature"></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Remove object from the children list.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Parameters:</h5>
|
|
|
+
|
|
|
+
|
|
|
+<table class="params">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <th>Name</th>
|
|
|
+
|
|
|
+
|
|
|
+ <th>Type</th>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <th class="last">Description</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+
|
|
|
+ <tbody>
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <td class="name"><code>children</code></td>
|
|
|
+
|
|
|
+
|
|
|
+ <td class="type">
|
|
|
+
|
|
|
+
|
|
|
+<span class="param-type"><a href="Object2D.html">Object2D</a></span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <td class="description last">Object to be removed.</td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+ </tbody>
|
|
|
+</table>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#remove">Object2D#remove</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line388">line 388</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h4 class="name" id="serialize"><span class="type-signature"></span>serialize<span class="signature">(recursive)</span><span class="type-signature"> → {Object}</span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Serialize the object data into a JSON object. That can be written into a file, sent using HTTP request etc.
|
|
|
+
|
|
|
+All required attributes to recreate the object in its current state should be stored. Relations between children should be stored by their UUID only.
|
|
|
+
|
|
|
+Data has to be parsed back into a usable object.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Parameters:</h5>
|
|
|
+
|
|
|
+
|
|
|
+<table class="params">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <th>Name</th>
|
|
|
+
|
|
|
+
|
|
|
+ <th>Type</th>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <th class="last">Description</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+
|
|
|
+ <tbody>
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <td class="name"><code>recursive</code></td>
|
|
|
+
|
|
|
+
|
|
|
+ <td class="type">
|
|
|
+
|
|
|
+
|
|
|
+<span class="param-type">boolean</span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <td class="description last">If set false the children list is not serialized, otherwise all children are serialized.</td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+ </tbody>
|
|
|
+</table>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-overrides">Overrides:</dt>
|
|
|
+ <dd class="tag-overrides"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#serialize">Object2D#serialize</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line612">line 612</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<h5>Returns:</h5>
|
|
|
+
|
|
|
+
|
|
|
+<div class="param-desc">
|
|
|
+ Serialized object data.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl>
|
|
|
+ <dt>
|
|
|
+ Type
|
|
|
+ </dt>
|
|
|
+ <dd>
|
|
|
+
|
|
|
+<span class="param-type">Object</span>
|
|
|
+
|
|
|
+
|
|
|
+ </dd>
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h4 class="name" id="transform"><span class="type-signature"></span>transform<span class="signature">(context, viewport, canvas, renderer)</span><span class="type-signature"></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Apply the transform to the rendering context, it is assumed that the viewport transform is pre-applied to the context.
|
|
|
+
|
|
|
+This is called before style() and draw(). It can also be used for some pre-rendering logic.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Parameters:</h5>
|
|
|
+
|
|
|
+
|
|
|
+<table class="params">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <th>Name</th>
|
|
|
+
|
|
|
+
|
|
|
+ <th>Type</th>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <th class="last">Description</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+
|
|
|
+ <tbody>
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <td class="name"><code>context</code></td>
|
|
|
+
|
|
|
+
|
|
|
+ <td class="type">
|
|
|
+
|
|
|
+
|
|
|
+<span class="param-type">CanvasRenderingContext2D</span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <td class="description last">Canvas 2d drawing context.</td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <td class="name"><code>viewport</code></td>
|
|
|
+
|
|
|
+
|
|
|
+ <td class="type">
|
|
|
+
|
|
|
+
|
|
|
+<span class="param-type"><a href="Viewport.html">Viewport</a></span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <td class="description last">Viewport applied to the canvas.</td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <td class="name"><code>canvas</code></td>
|
|
|
+
|
|
|
+
|
|
|
+ <td class="type">
|
|
|
+
|
|
|
+
|
|
|
+<span class="param-type">Element</span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <td class="description last">DOM canvas element where the content is being drawn.</td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <td class="name"><code>renderer</code></td>
|
|
|
+
|
|
|
+
|
|
|
+ <td class="type">
|
|
|
+
|
|
|
+
|
|
|
+<span class="param-type"><a href="Renderer.html">Renderer</a></span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <td class="description last">Renderer object being used to draw the object into the canvas.</td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+ </tbody>
|
|
|
+</table>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#transform">Object2D#transform</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line457">line 457</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h4 class="name" id="traverse"><span class="type-signature"></span>traverse<span class="signature">(callback)</span><span class="type-signature"></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Traverse the object tree and run a function for all objects.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Parameters:</h5>
|
|
|
+
|
|
|
+
|
|
|
+<table class="params">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <th>Name</th>
|
|
|
+
|
|
|
+
|
|
|
+ <th>Type</th>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <th class="last">Description</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+
|
|
|
+ <tbody>
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <td class="name"><code>callback</code></td>
|
|
|
+
|
|
|
+
|
|
|
+ <td class="type">
|
|
|
+
|
|
|
+
|
|
|
+<span class="param-type">function</span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <td class="description last">Callback function that receives the object as parameter.</td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+ </tbody>
|
|
|
+</table>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#traverse">Object2D#traverse</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line329">line 329</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h4 class="name" id="updateMatrix"><span class="type-signature"></span>updateMatrix<span class="signature">(context)</span><span class="type-signature"></span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Update the transformation matrix of the object.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Parameters:</h5>
|
|
|
+
|
|
|
+
|
|
|
+<table class="params">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <th>Name</th>
|
|
|
+
|
|
|
+
|
|
|
+ <th>Type</th>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <th class="last">Description</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+
|
|
|
+ <tbody>
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <td class="name"><code>context</code></td>
|
|
|
+
|
|
|
+
|
|
|
+ <td class="type">
|
|
|
+
|
|
|
+
|
|
|
+<span class="param-type">CanvasRenderingContext2D</span>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </td>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <td class="description last">Canvas 2d drawing context.</td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+ </tbody>
|
|
|
+</table>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="inherited-from">Inherited From:</dt>
|
|
|
+ <dd class="inherited-from"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.html#updateMatrix">Object2D#updateMatrix</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line430">line 430</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</article>
|
|
|
+
|
|
|
+</section>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</div>
|
|
|
+
|
|
|
+<nav>
|
|
|
+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AnimationTimer.html">AnimationTimer</a></li><li><a href="BezierCurve.html">BezierCurve</a></li><li><a href="Box.html">Box</a></li><li><a href="Box2.html">Box2</a></li><li><a href="BoxMask.html">BoxMask</a></li><li><a href="Circle.html">Circle</a></li><li><a href="ColorStyle.html">ColorStyle</a></li><li><a href="DOM.html">DOM</a></li><li><a href="EventManager.html">EventManager</a></li><li><a href="FileUtils.html">FileUtils</a></li><li><a href="Gauge.html">Gauge</a></li><li><a href="GradientColorStop.html">GradientColorStop</a></li><li><a href="GradientStyle.html">GradientStyle</a></li><li><a href="Graph.html">Graph</a></li><li><a href="Helpers.html">Helpers</a></li><li><a href="Image.html">Image</a></li><li><a href="Key.html">Key</a></li><li><a href="Line.html">Line</a></li><li><a href="LinearGradientStyle.html">LinearGradientStyle</a></li><li><a href="Mask.html">Mask</a></li><li><a href="Matrix.html">Matrix</a></li><li><a href="MultiLineText.html">MultiLineText</a></li><li><a href="Node.html">Node</a></li><li><a href="NodeConnector.html">NodeConnector</a></li><li><a href="NodeGraph.html">NodeGraph</a></li><li><a href="NodeSocket.html">NodeSocket</a></li><li><a href="Object2D.html">Object2D</a></li><li><a href="Pattern.html">Pattern</a></li><li><a href="PatternStyle.html">PatternStyle</a></li><li><a href="Pointer.html">Pointer</a></li><li><a href="QuadraticCurve.html">QuadraticCurve</a></li><li><a href="RadialGradientStyle.html">RadialGradientStyle</a></li><li><a href="Renderer.html">Renderer</a></li><li><a href="RoundedBox.html">RoundedBox</a></li><li><a href="Style.html">Style</a></li><li><a href="Text.html">Text</a></li><li><a href="UUID.html">UUID</a></li><li><a href="Vector2.html">Vector2</a></li><li><a href="Viewport.html">Viewport</a></li><li><a href="ViewportControls.html">ViewportControls</a></li></ul><h3>Global</h3><ul><li><a href="global.html#writeFile">writeFile</a></li></ul>
|
|
|
+</nav>
|
|
|
+
|
|
|
+<br class="clear">
|
|
|
+
|
|
|
+<footer>
|
|
|
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.4</a> on Sun Jun 14 2020 20:43:33 GMT+0100 (Western European Summer Time)
|
|
|
+</footer>
|
|
|
+
|
|
|
+<script> prettyPrint(); </script>
|
|
|
+<script src="scripts/linenumber.js"> </script>
|
|
|
+</body>
|
|
|
+</html>
|