1
0
mirror of https://github.com/psychopy/psychojs.git synced 2025-05-10 10:40:54 +00:00
psychojs/docs/module-util.Color.html
2019-07-08 09:07:09 +02:00

2988 lines
34 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Class: Color</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: Color</h1>
<section>
<header>
<h2><span class="attribs"><span class="type-signature"></span></span>
<span class="ancestors"><a href="module-util.html">util</a>.</span>Color<span class="signature">(obj<span class="signature-attributes">opt</span>, colorspace<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h2>
</header>
<article>
<div class="container-overview">
<h4 class="name" id="Color"><span class="type-signature"></span>new Color<span class="signature">(obj<span class="signature-attributes">opt</span>, colorspace<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
<div class="description">
<p>This class handles multiple color spaces, and offers various
static methods for converting colors from one space to another.</p>
<p>The constructor accepts the following color representations:
<ul>
<li>a named color, e.g. 'aliceblue' (the colorspace must be RGB)</li>
<li>an hexadecimal string representation, e.g. '#FF0000' (the colorspace must be RGB)</li>
<li>an hexadecimal number representation, e.g. 0xFF0000 (the colorspace must be RGB)</li>
<li>a triplet of numbers, e.g. [-1, 0, 1], [0, 128, 255] (the numbers must be within the range determined by the colorspace)</li>
</ul>
</p>
<p>Note: internally, colors are represented as a [r,g,b] triplet with r,g,b in [0,1].</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th>Default</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>obj</code></td>
<td class="type">
<span class="param-type">string</span>
|
<span class="param-type">number</span>
|
<span class="param-type">Array.&lt;number></span>
|
<span class="param-type">undefined</span>
</td>
<td class="attributes">
&lt;optional><br>
</td>
<td class="default">
'black'
</td>
<td class="description last">an object representing a color</td>
</tr>
<tr>
<td class="name"><code>colorspace</code></td>
<td class="type">
<span class="param-type"><a href="module-util.Color.html#COLOR_SPACE">module:util.Color#COLOR_SPACE</a></span>
|
<span class="param-type">undefined</span>
</td>
<td class="attributes">
&lt;optional><br>
</td>
<td class="default">
Color.COLOR_SPACE.RGB
</td>
<td class="description last">the colorspace of that color</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="util_Color.js.html">util/Color.js</a>, <a href="util_Color.js.html#line11">line 11</a>
</li></ul></dd>
<dt class="tag-todo">To Do:</dt>
<dd class="tag-todo">
<ul>
<li>implement HSV, DKL, and LMS colorspaces</li>
</ul>
</dd>
</dl>
</div>
<h3 class="subsection-title">Members</h3>
<h4 class="name" id="COLOR_SPACE"><span class="type-signature">(readonly) </span>COLOR_SPACE<span class="type-signature"> :Symbol</span></h4>
<div class="description">
Color spaces.
</div>
<h5>Type:</h5>
<ul>
<li>
<span class="param-type">Symbol</span>
</li>
</ul>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="util_Color.js.html">util/Color.js</a>, <a href="util_Color.js.html#line441">line 441</a>
</li></ul></dd>
</dl>
<h4 class="name" id="NAMED_COLORS"><span class="type-signature">(readonly) </span>NAMED_COLORS<span class="type-signature"> :Symbol</span></h4>
<div class="description">
Named colors.
</div>
<h5>Type:</h5>
<ul>
<li>
<span class="param-type">Symbol</span>
</li>
</ul>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="util_Color.js.html">util/Color.js</a>, <a href="util_Color.js.html#line468">line 468</a>
</li></ul></dd>
</dl>
<h3 class="subsection-title">Methods</h3>
<h4 class="name" id="._checkTypeAndRange"><span class="type-signature">(private, static) </span>_checkTypeAndRange<span class="signature">(arg, range<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {boolean}</span></h4>
<div class="description">
Check that the argument is an array of numbers of size 3, and, potentially, that its elements fall within the range.
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>arg</code></td>
<td class="type">
<span class="param-type">any</span>
</td>
<td class="attributes">
</td>
<td class="description last">the argument</td>
</tr>
<tr>
<td class="name"><code>range</code></td>
<td class="type">
<span class="param-type">Array.&lt;number></span>
</td>
<td class="attributes">
&lt;optional><br>
</td>
<td class="description last">the lower and higher bounds of the range</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="util_Color.js.html">util/Color.js</a>, <a href="util_Color.js.html#line419">line 419</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
whether the argument is an array of numbers of size 3, and, potentially, whether its elements fall within the range (if range is not undefined)
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">boolean</span>
</dd>
</dl>
<h4 class="name" id="._intToRgb"><span class="type-signature">(private, static) </span>_intToRgb<span class="signature">(hex)</span><span class="type-signature"> &rarr; {Array.&lt;number>}</span></h4>
<div class="description">
Get the [0, 1] based RGB triplet equivalent of the integer color code.
<p>Note: this is the fast, unsafe version which does not check for argument sanity</p>
</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>hex</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last">the integer color code</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="util_Color.js.html">util/Color.js</a>, <a href="util_Color.js.html#line401">line 401</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
the [0, 1] RGB equivalent
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Array.&lt;number></span>
</dd>
</dl>
<h4 class="name" id="._intToRgb255"><span class="type-signature">(private, static) </span>_intToRgb255<span class="signature">(hex)</span><span class="type-signature"> &rarr; {Array.&lt;number>}</span></h4>
<div class="description">
Get the [0, 255] based RGB triplet equivalent of the integer color code.
<p>Note: this is the fast, unsafe version which does not check for argument sanity</p>
</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>hex</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last">the integer color code</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="util_Color.js.html">util/Color.js</a>, <a href="util_Color.js.html#line380">line 380</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
the [0, 255] RGB equivalent
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Array.&lt;number></span>
</dd>
</dl>
<h4 class="name" id="._rgb255ToHex"><span class="type-signature">(private, static) </span>_rgb255ToHex<span class="signature">(rgb255)</span><span class="type-signature"> &rarr; {string}</span></h4>
<div class="description">
Get the hexadecimal color code equivalent of the [0, 255] RGB triplet.
<p>Note: this is the fast, unsafe version which does not check for argument sanity</p>
</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>rgb255</code></td>
<td class="type">
<span class="param-type">Array.&lt;number></span>
</td>
<td class="description last">the [0, 255] RGB triplet</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="util_Color.js.html">util/Color.js</a>, <a href="util_Color.js.html#line310">line 310</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
the hexadecimal color code equivalent
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">string</span>
</dd>
</dl>
<h4 class="name" id="._rgb255ToInt"><span class="type-signature">(private, static) </span>_rgb255ToInt<span class="signature">(rgb255)</span><span class="type-signature"> &rarr; {number}</span></h4>
<div class="description">
Get the integer equivalent of the [0, 255] RGB triplet.
<p>Note: this is the fast, unsafe version which does not check for argument sanity</p>
</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>rgb255</code></td>
<td class="type">
<span class="param-type">Array.&lt;number></span>
</td>
<td class="description last">the [0, 255] RGB triplet</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="util_Color.js.html">util/Color.js</a>, <a href="util_Color.js.html#line363">line 363</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
the integer equivalent
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">number</span>
</dd>
</dl>
<h4 class="name" id="._rgbToHex"><span class="type-signature">(private, static) </span>_rgbToHex<span class="signature">(rgb)</span><span class="type-signature"> &rarr; {string}</span></h4>
<div class="description">
Get the hexadecimal color code equivalent of the [0, 1] RGB triplet.
<p>Note: this is the fast, unsafe version which does not check for argument sanity</p>
</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>rgb</code></td>
<td class="type">
<span class="param-type">Array.&lt;number></span>
</td>
<td class="description last">the [0, 1] RGB triplet</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="util_Color.js.html">util/Color.js</a>, <a href="util_Color.js.html#line327">line 327</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
the hexadecimal color code equivalent
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">string</span>
</dd>
</dl>
<h4 class="name" id="._rgbToInt"><span class="type-signature">(private, static) </span>_rgbToInt<span class="signature">(rgb)</span><span class="type-signature"> &rarr; {number}</span></h4>
<div class="description">
Get the integer equivalent of the [0, 1] RGB triplet.
<p>Note: this is the fast, unsafe version which does not check for argument sanity</p>
</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>rgb</code></td>
<td class="type">
<span class="param-type">Array.&lt;number></span>
</td>
<td class="description last">the [0, 1] RGB triplet</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="util_Color.js.html">util/Color.js</a>, <a href="util_Color.js.html#line345">line 345</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
the integer equivalent
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">number</span>
</dd>
</dl>
<h4 class="name" id=".hex"><span class="type-signature">(static) </span>hex<span class="signature">()</span><span class="type-signature"> &rarr; {string}</span></h4>
<div class="description">
Get the hexadecimal color code equivalent of this Color.
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="util_Color.js.html">util/Color.js</a>, <a href="util_Color.js.html#line136">line 136</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
the hexadecimal color code equivalent
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">string</span>
</dd>
</dl>
<h4 class="name" id=".hexToRgb"><span class="type-signature">(static) </span>hexToRgb<span class="signature">(hex)</span><span class="type-signature"> &rarr; {Array.&lt;number>}</span></h4>
<div class="description">
Get the [0,1] RGB triplet equivalent of the hexadecimal color code.
</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>hex</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last">the hexadecimal color code</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="util_Color.js.html">util/Color.js</a>, <a href="util_Color.js.html#line203">line 203</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
the [0,1] RGB triplet equivalent
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Array.&lt;number></span>
</dd>
</dl>
<h4 class="name" id=".hexToRgb255"><span class="type-signature">(static) </span>hexToRgb255<span class="signature">(hex)</span><span class="type-signature"> &rarr; {Array.&lt;number>}</span></h4>
<div class="description">
Get the [0,255] RGB triplet equivalent of the hexadecimal color code.
</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>hex</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last">the hexadecimal color code</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="util_Color.js.html">util/Color.js</a>, <a href="util_Color.js.html#line184">line 184</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
the [0,255] RGB triplet equivalent
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Array.&lt;number></span>
</dd>
</dl>
<h4 class="name" id=".int"><span class="type-signature">(static) </span>int<span class="signature">()</span><span class="type-signature"> &rarr; {number}</span></h4>
<div class="description">
Get the integer code equivalent of this Color.
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="util_Color.js.html">util/Color.js</a>, <a href="util_Color.js.html#line150">line 150</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
the integer code equivalent
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">number</span>
</dd>
</dl>
<h4 class="name" id=".rgb"><span class="type-signature">(static) </span>rgb<span class="signature">()</span><span class="type-signature"> &rarr; {Array.&lt;number>}</span></h4>
<div class="description">
Get the [0,1] RGB triplet equivalent of this Color.
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="util_Color.js.html">util/Color.js</a>, <a href="util_Color.js.html#line114">line 114</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
the [0,1] RGB triplet equivalent
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Array.&lt;number></span>
</dd>
</dl>
<h4 class="name" id=".rgb255"><span class="type-signature">(static) </span>rgb255<span class="signature">()</span><span class="type-signature"> &rarr; {Array.&lt;number>}</span></h4>
<div class="description">
Get the [0,255] RGB triplet equivalent of this Color.
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="util_Color.js.html">util/Color.js</a>, <a href="util_Color.js.html#line125">line 125</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
the [0,255] RGB triplet equivalent
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Array.&lt;number></span>
</dd>
</dl>
<h4 class="name" id=".rgb255ToHex"><span class="type-signature">(static) </span>rgb255ToHex<span class="signature">(rgb255)</span><span class="type-signature"> &rarr; {string}</span></h4>
<div class="description">
Get the hexadecimal color code equivalent of the [0, 255] RGB triplet.
</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>rgb255</code></td>
<td class="type">
<span class="param-type">Array.&lt;number></span>
</td>
<td class="description last">the [0, 255] RGB triplet</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="util_Color.js.html">util/Color.js</a>, <a href="util_Color.js.html#line219">line 219</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
the hexadecimal color code equivalent
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">string</span>
</dd>
</dl>
<h4 class="name" id=".rgb255ToInt"><span class="type-signature">(static) </span>rgb255ToInt<span class="signature">(rgb255)</span><span class="type-signature"> &rarr; {number}</span></h4>
<div class="description">
Get the integer equivalent of the [0, 255] RGB triplet.
</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>rgb255</code></td>
<td class="type">
<span class="param-type">Array.&lt;number></span>
</td>
<td class="description last">the [0, 255] RGB triplet</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="util_Color.js.html">util/Color.js</a>, <a href="util_Color.js.html#line288">line 288</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
the integer equivalent
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">number</span>
</dd>
</dl>
<h4 class="name" id=".rgbToHex"><span class="type-signature">(static) </span>rgbToHex<span class="signature">(rgb)</span><span class="type-signature"> &rarr; {string}</span></h4>
<div class="description">
Get the hexadecimal color code equivalent of the [0, 1] RGB triplet.
</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>rgb</code></td>
<td class="type">
<span class="param-type">Array.&lt;number></span>
</td>
<td class="description last">the [0, 1] RGB triplet</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="util_Color.js.html">util/Color.js</a>, <a href="util_Color.js.html#line242">line 242</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
the hexadecimal color code equivalent
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">string</span>
</dd>
</dl>
<h4 class="name" id=".rgbToInt"><span class="type-signature">(static) </span>rgbToInt<span class="signature">(rgb)</span><span class="type-signature"> &rarr; {number}</span></h4>
<div class="description">
Get the integer equivalent of the [0, 1] RGB triplet.
</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>rgb</code></td>
<td class="type">
<span class="param-type">Array.&lt;number></span>
</td>
<td class="description last">the [0, 1] RGB triplet</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="util_Color.js.html">util/Color.js</a>, <a href="util_Color.js.html#line265">line 265</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
the integer equivalent
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">number</span>
</dd>
</dl>
</article>
</section>
</div>
<nav>
<h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-core.html">core</a></li><li><a href="module-data.html">data</a></li><li><a href="module-sound.html">sound</a></li><li><a href="module-util.html">util</a></li><li><a href="module-visual.html">visual</a></li></ul><h3>Classes</h3><ul><li><a href="module-core.BuilderKeyResponse.html">BuilderKeyResponse</a></li><li><a href="module-core.EventManager.html">EventManager</a></li><li><a href="module-core.GUI.html">GUI</a></li><li><a href="module-core.Keyboard.html">Keyboard</a></li><li><a href="module-core.KeyPress.html">KeyPress</a></li><li><a href="module-core.MinimalStim.html">MinimalStim</a></li><li><a href="module-core.Mouse.html">Mouse</a></li><li><a href="module-core.PsychoJS.html">PsychoJS</a></li><li><a href="module-core.ServerManager.html">ServerManager</a></li><li><a href="module-core.Window.html">Window</a></li><li><a href="module-data.ExperimentHandler.html">ExperimentHandler</a></li><li><a href="module-data.TrialHandler.html">TrialHandler</a></li><li><a href="module-sound.Sound.html">Sound</a></li><li><a href="module-sound.TonePlayer.html">TonePlayer</a></li><li><a href="module-sound.TrackPlayer.html">TrackPlayer</a></li><li><a href="module-util.Clock.html">Clock</a></li><li><a href="module-util.Color.html">Color</a></li><li><a href="module-util.CountdownTimer.html">CountdownTimer</a></li><li><a href="module-util.EventEmitter.html">EventEmitter</a></li><li><a href="module-util.Logger.html">Logger</a></li><li><a href="module-util.MixinBuilder.html">MixinBuilder</a></li><li><a href="module-util.MonotonicClock.html">MonotonicClock</a></li><li><a href="module-util.PsychObject.html">PsychObject</a></li><li><a href="module-util.Scheduler.html">Scheduler</a></li><li><a href="module-visual.ImageStim.html">ImageStim</a></li><li><a href="module-visual.MovieStim.html">MovieStim</a></li><li><a href="module-visual.Rect.html">Rect</a></li><li><a href="module-visual.ShapeStim.html">ShapeStim</a></li><li><a href="module-visual.Slider.html">Slider</a></li><li><a href="module-visual.TextStim.html">TextStim</a></li><li><a href="module-visual.VisualStim.html">VisualStim</a></li></ul><h3>Mixins</h3><ul><li><a href="module-core.WindowMixin.html">WindowMixin</a></li><li><a href="module-util.ColorMixin.html">ColorMixin</a></li></ul><h3>Interfaces</h3><ul><li><a href="module-sound.SoundPlayer.html">SoundPlayer</a></li></ul><h3>Global</h3><ul><li><a href="global.html#offerDataForDownload">offerDataForDownload</a></li></ul>
</nav>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Jul 08 2019 09:06:18 GMT+0200 (CEST)
</footer>
<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>