etro 0.7.0 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. package/.github/workflows/nodejs.yml +4 -2
  2. package/.github/workflows/shipjs-trigger.yml +29 -0
  3. package/CHANGELOG.md +73 -12
  4. package/CODE_OF_CONDUCT.md +5 -5
  5. package/CONTRIBUTING.md +31 -77
  6. package/README.md +81 -26
  7. package/dist/effect/base.d.ts +51 -0
  8. package/dist/effect/brightness.d.ts +16 -0
  9. package/dist/effect/channels.d.ts +23 -0
  10. package/dist/effect/chroma-key.d.ts +23 -0
  11. package/dist/effect/contrast.d.ts +15 -0
  12. package/dist/effect/elliptical-mask.d.ts +31 -0
  13. package/dist/effect/gaussian-blur.d.ts +60 -0
  14. package/dist/effect/grayscale.d.ts +7 -0
  15. package/dist/effect/index.d.ts +15 -0
  16. package/dist/effect/pixelate.d.ts +18 -0
  17. package/dist/effect/shader.d.ts +99 -0
  18. package/dist/effect/stack.d.ts +23 -0
  19. package/dist/effect/transform.d.ts +73 -0
  20. package/dist/etro-cjs.js +9287 -3331
  21. package/dist/etro-iife.js +9229 -3273
  22. package/dist/etro.d.ts +7 -0
  23. package/dist/event.d.ts +35 -0
  24. package/dist/index.d.ts +6 -0
  25. package/dist/layer/audio-source.d.ts +24 -0
  26. package/dist/layer/audio.d.ts +14 -0
  27. package/dist/layer/base.d.ts +82 -0
  28. package/dist/layer/image.d.ts +6 -0
  29. package/dist/layer/index.d.ts +11 -0
  30. package/dist/layer/text.d.ts +60 -0
  31. package/dist/layer/video.d.ts +11 -0
  32. package/dist/layer/visual-source.d.ts +32 -0
  33. package/dist/layer/visual.d.ts +58 -0
  34. package/dist/movie.d.ts +192 -0
  35. package/dist/object.d.ts +12 -0
  36. package/dist/util.d.ts +125 -0
  37. package/eslint.conf.js +2 -9
  38. package/eslint.example-conf.js +9 -0
  39. package/eslint.test-conf.js +1 -0
  40. package/eslint.typescript-conf.js +5 -0
  41. package/examples/application/readme-screenshot.html +16 -17
  42. package/examples/application/video-player.html +10 -11
  43. package/examples/application/webcam.html +6 -6
  44. package/examples/introduction/audio.html +30 -18
  45. package/examples/introduction/effects.html +37 -14
  46. package/examples/introduction/export.html +32 -25
  47. package/examples/introduction/functions.html +6 -4
  48. package/examples/introduction/hello-world1.html +9 -5
  49. package/examples/introduction/hello-world2.html +5 -5
  50. package/examples/introduction/keyframes.html +35 -23
  51. package/examples/introduction/media.html +26 -18
  52. package/examples/introduction/text.html +9 -5
  53. package/karma.conf.js +5 -3
  54. package/package.json +36 -14
  55. package/rollup.config.js +15 -4
  56. package/scripts/gen-effect-samples.html +26 -25
  57. package/scripts/save-effect-samples.js +14 -15
  58. package/ship.config.js +80 -0
  59. package/src/effect/base.ts +115 -0
  60. package/src/effect/brightness.ts +43 -0
  61. package/src/effect/channels.ts +50 -0
  62. package/src/effect/chroma-key.ts +82 -0
  63. package/src/effect/contrast.ts +42 -0
  64. package/src/effect/elliptical-mask.ts +75 -0
  65. package/src/effect/gaussian-blur.ts +232 -0
  66. package/src/effect/grayscale.ts +34 -0
  67. package/src/effect/index.ts +22 -0
  68. package/src/effect/pixelate.ts +58 -0
  69. package/src/effect/shader.ts +557 -0
  70. package/src/effect/stack.ts +78 -0
  71. package/src/effect/transform.ts +193 -0
  72. package/src/etro.ts +26 -0
  73. package/src/event.ts +112 -0
  74. package/src/index.ts +8 -0
  75. package/src/layer/audio-source.ts +219 -0
  76. package/src/layer/audio.ts +34 -0
  77. package/src/layer/base.ts +175 -0
  78. package/src/layer/image.ts +8 -0
  79. package/src/layer/index.ts +13 -0
  80. package/src/layer/text.ts +138 -0
  81. package/src/layer/video.ts +15 -0
  82. package/src/layer/visual-source.ts +150 -0
  83. package/src/layer/visual.ts +197 -0
  84. package/src/movie.ts +707 -0
  85. package/src/object.ts +14 -0
  86. package/src/util.ts +466 -0
  87. package/tsconfig.json +8 -0
  88. package/docs/effect.js.html +0 -1215
  89. package/docs/event.js.html +0 -145
  90. package/docs/index.html +0 -81
  91. package/docs/index.js.html +0 -92
  92. package/docs/layer.js.html +0 -888
  93. package/docs/module-effect-GaussianBlurComponent.html +0 -345
  94. package/docs/module-effect.Brightness.html +0 -339
  95. package/docs/module-effect.Channels.html +0 -319
  96. package/docs/module-effect.ChromaKey.html +0 -611
  97. package/docs/module-effect.Contrast.html +0 -339
  98. package/docs/module-effect.EllipticalMask.html +0 -200
  99. package/docs/module-effect.GaussianBlur.html +0 -202
  100. package/docs/module-effect.GaussianBlurHorizontal.html +0 -242
  101. package/docs/module-effect.GaussianBlurVertical.html +0 -242
  102. package/docs/module-effect.Pixelate.html +0 -330
  103. package/docs/module-effect.Shader.html +0 -1227
  104. package/docs/module-effect.Stack.html +0 -406
  105. package/docs/module-effect.Transform.Matrix.html +0 -193
  106. package/docs/module-effect.Transform.html +0 -1174
  107. package/docs/module-effect.html +0 -148
  108. package/docs/module-event.html +0 -473
  109. package/docs/module-index.html +0 -186
  110. package/docs/module-layer-Media.html +0 -1116
  111. package/docs/module-layer-MediaMixin.html +0 -164
  112. package/docs/module-layer.Audio.html +0 -1188
  113. package/docs/module-layer.Base.html +0 -629
  114. package/docs/module-layer.Image.html +0 -1421
  115. package/docs/module-layer.Text.html +0 -1731
  116. package/docs/module-layer.Video.html +0 -1938
  117. package/docs/module-layer.Visual.html +0 -1698
  118. package/docs/module-layer.html +0 -137
  119. package/docs/module-movie.html +0 -3118
  120. package/docs/module-util.Color.html +0 -702
  121. package/docs/module-util.Font.html +0 -395
  122. package/docs/module-util.html +0 -845
  123. package/docs/movie.js.html +0 -689
  124. package/docs/scripts/collapse.js +0 -20
  125. package/docs/scripts/linenumber.js +0 -25
  126. package/docs/scripts/nav.js +0 -12
  127. package/docs/scripts/polyfill.js +0 -4
  128. package/docs/scripts/prettify/Apache-License-2.0.txt +0 -202
  129. package/docs/scripts/prettify/lang-css.js +0 -2
  130. package/docs/scripts/prettify/prettify.js +0 -28
  131. package/docs/scripts/search.js +0 -83
  132. package/docs/styles/jsdoc.css +0 -671
  133. package/docs/styles/prettify.css +0 -79
  134. package/docs/util.js.html +0 -503
  135. package/screenshots/2019-08-17_0.png +0 -0
  136. package/spec/assets/effect/gaussian-blur-horizontal.png +0 -0
  137. package/spec/assets/effect/gaussian-blur-vertical.png +0 -0
  138. package/spec/assets/effect/original.png +0 -0
  139. package/spec/assets/effect/pixelate.png +0 -0
  140. package/spec/assets/effect/transform/multiply.png +0 -0
  141. package/spec/assets/effect/transform/rotate.png +0 -0
  142. package/spec/assets/effect/transform/scale-fraction.png +0 -0
  143. package/spec/assets/effect/transform/scale.png +0 -0
  144. package/spec/assets/effect/transform/translate-fraction.png +0 -0
  145. package/spec/assets/effect/transform/translate.png +0 -0
  146. package/spec/assets/layer/audio.wav +0 -0
  147. package/spec/assets/layer/image.jpg +0 -0
  148. package/spec/effect.spec.js +0 -352
  149. package/spec/event.spec.js +0 -25
  150. package/spec/layer.spec.js +0 -150
  151. package/spec/movie.spec.js +0 -162
  152. package/spec/util.spec.js +0 -285
  153. package/src/effect.js +0 -1268
  154. package/src/event.js +0 -78
  155. package/src/index.js +0 -23
  156. package/src/layer.js +0 -897
  157. package/src/movie.js +0 -637
  158. package/src/util.js +0 -505
@@ -1,845 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
-
5
- <meta charset="utf-8">
6
- <title>util - Documentation</title>
7
-
8
-
9
- <script src="scripts/prettify/prettify.js"></script>
10
- <script src="scripts/prettify/lang-css.js"></script>
11
- <!--[if lt IE 9]>
12
- <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
13
- <![endif]-->
14
- <link type="text/css" rel="stylesheet" href="styles/prettify.css">
15
- <link type="text/css" rel="stylesheet" href="styles/jsdoc.css">
16
- <script src="scripts/nav.js" defer></script>
17
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
18
- </head>
19
- <body>
20
-
21
- <input type="checkbox" id="nav-trigger" class="nav-trigger" />
22
- <label for="nav-trigger" class="navicon-button x">
23
- <div class="navicon"></div>
24
- </label>
25
-
26
- <label for="nav-trigger" class="overlay"></label>
27
-
28
- <nav >
29
-
30
- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="module-effect.Brightness.html">Brightness</a></li><li><a href="module-effect.Channels.html">Channels</a></li><li><a href="module-effect.ChromaKey.html">ChromaKey</a></li><li><a href="module-effect.Contrast.html">Contrast</a></li><li><a href="module-effect.EllipticalMask.html">EllipticalMask</a></li><li><a href="module-effect.GaussianBlur.html">GaussianBlur</a></li><li><a href="module-effect.GaussianBlurHorizontal.html">GaussianBlurHorizontal</a></li><li><a href="module-effect.GaussianBlurVertical.html">GaussianBlurVertical</a></li><li><a href="module-effect.Pixelate.html">Pixelate</a></li><li><a href="module-effect.Shader.html">Shader</a><ul class='methods'><li data-type='method'><a href="module-effect.Shader.html#._initBuffer">_initBuffer</a></li><li data-type='method'><a href="module-effect.Shader.html#._loadTexture">_loadTexture</a></li><li data-type='method'><a href="module-effect.Shader.html#_prepareValue">_prepareValue</a></li></ul></li><li><a href="module-effect.Stack.html">Stack</a><ul class='methods'><li data-type='method'><a href="module-effect.Stack.html#addEffect">addEffect</a></li></ul></li><li><a href="module-effect.Transform.html">Transform</a><ul class='methods'><li data-type='method'><a href="module-effect.Transform.html#.Matrix#cell">Matrix#cell</a></li><li data-type='method'><a href="module-effect.Transform.html#.Matrix#multiply">Matrix#multiply</a></li><li data-type='method'><a href="module-effect.Transform.html#.Matrix#rotate">Matrix#rotate</a></li><li data-type='method'><a href="module-effect.Transform.html#.Matrix#scale">Matrix#scale</a></li><li data-type='method'><a href="module-effect.Transform.html#.Matrix#translate">Matrix#translate</a></li></ul></li><li><a href="module-effect.Transform.Matrix.html">Matrix</a></li><li><a href="module-effect-GaussianBlurComponent.html">GaussianBlurComponent</a></li><li><a href="module-layer.Audio.html">Audio</a></li><li><a href="module-layer.Base.html">Base</a><ul class='methods'><li data-type='method'><a href="module-layer.Base.html#_render">_render</a></li></ul></li><li><a href="module-layer.Image.html">Image</a></li><li><a href="module-layer.Text.html">Text</a></li><li><a href="module-layer.Video.html">Video</a></li><li><a href="module-layer.Visual.html">Visual</a><ul class='methods'><li data-type='method'><a href="module-layer.Visual.html#_render">_render</a></li><li data-type='method'><a href="module-layer.Visual.html#addEffect">addEffect</a></li></ul></li><li><a href="module-layer-Media.html">Media</a></li><li><a href="module-movie.html">movie</a><ul class='methods'><li data-type='method'><a href="module-movie.html#addEffect">addEffect</a></li><li data-type='method'><a href="module-movie.html#addLayer">addLayer</a></li><li data-type='method'><a href="module-movie.html#pause">pause</a></li><li data-type='method'><a href="module-movie.html#play">play</a></li><li data-type='method'><a href="module-movie.html#publishToLayers">publishToLayers</a></li><li data-type='method'><a href="module-movie.html#record">record</a></li><li data-type='method'><a href="module-movie.html#refresh">refresh</a></li><li data-type='method'><a href="module-movie.html#setCurrentTime">setCurrentTime</a></li><li data-type='method'><a href="module-movie.html#stop">stop</a></li></ul></li><li><a href="module-util.Color.html">Color</a><ul class='methods'><li data-type='method'><a href="module-util.Color.html#toString">toString</a></li></ul></li><li><a href="module-util.Font.html">Font</a><ul class='methods'><li data-type='method'><a href="module-util.Font.html#toString">toString</a></li></ul></li></ul><h3>Modules</h3><ul><li><a href="module-effect.html">effect</a></li><li><a href="module-event.html">event</a><ul class='methods'><li data-type='method'><a href="module-event.html#.publish">publish</a></li><li data-type='method'><a href="module-event.html#.subscribe">subscribe</a></li></ul></li><li><a href="module-index.html">index</a></li><li><a href="module-layer.html">layer</a></li><li><a href="module-movie.html">movie</a><ul class='methods'><li data-type='method'><a href="module-movie.html#addEffect">addEffect</a></li><li data-type='method'><a href="module-movie.html#addLayer">addLayer</a></li><li data-type='method'><a href="module-movie.html#pause">pause</a></li><li data-type='method'><a href="module-movie.html#play">play</a></li><li data-type='method'><a href="module-movie.html#publishToLayers">publishToLayers</a></li><li data-type='method'><a href="module-movie.html#record">record</a></li><li data-type='method'><a href="module-movie.html#refresh">refresh</a></li><li data-type='method'><a href="module-movie.html#setCurrentTime">setCurrentTime</a></li><li data-type='method'><a href="module-movie.html#stop">stop</a></li></ul></li><li><a href="module-util.html">util</a><ul class='methods'><li data-type='method'><a href="module-util.html#.parseColor">parseColor</a></li><li data-type='method'><a href="module-util.html#.parseFont">parseFont</a></li><li data-type='method'><a href="module-util.html#.watchPublic">watchPublic</a></li><li data-type='method'><a href="module-util.html#~isKeyFrames">isKeyFrames</a></li></ul></li></ul><h3>Mixins</h3><ul><li><a href="module-layer-MediaMixin.html">MediaMixin</a></li></ul>
31
- </nav>
32
-
33
- <div id="main">
34
-
35
- <h1 class="page-title">util</h1>
36
-
37
-
38
-
39
-
40
-
41
-
42
-
43
- <section>
44
-
45
- <header>
46
-
47
-
48
-
49
- </header>
50
-
51
- <article>
52
-
53
- <div class="container-overview">
54
-
55
-
56
-
57
-
58
-
59
- </div>
60
-
61
-
62
-
63
-
64
-
65
-
66
-
67
- <h3 class="subsection-title">Classes</h3>
68
-
69
- <dl>
70
- <dt><a href="module-util.Color.html">Color</a></dt>
71
- <dd></dd>
72
-
73
- <dt><a href="module-util.Font.html">Font</a></dt>
74
- <dd></dd>
75
- </dl>
76
-
77
-
78
-
79
-
80
-
81
-
82
-
83
-
84
-
85
-
86
-
87
- <h3 class="subsection-title">Methods</h3>
88
-
89
-
90
-
91
-
92
-
93
-
94
- <h4 class="name" id=".parseColor"><span class="type-signature">(static) </span>parseColor<span class="signature">(str)</span><span class="type-signature"> &rarr; {<a href="module-util.Color.html">module:util.Color</a>}</span></h4>
95
-
96
-
97
-
98
-
99
-
100
-
101
- <dl class="details">
102
-
103
-
104
- <dt class="tag-source">Source:</dt>
105
- <dd class="tag-source"><ul class="dummy"><li>
106
- <a href="util.js.html">util.js</a>, <a href="util.js.html#line265">line 265</a>
107
- </li></ul></dd>
108
-
109
-
110
-
111
-
112
-
113
-
114
-
115
-
116
-
117
-
118
-
119
-
120
-
121
-
122
-
123
-
124
-
125
-
126
-
127
-
128
-
129
-
130
-
131
-
132
-
133
-
134
-
135
-
136
-
137
-
138
-
139
- </dl>
140
-
141
-
142
-
143
-
144
-
145
- <div class="description">
146
- Converts a css color string to a <a href="module-util.Color.html">module:util.Color</a> object representation.
147
- </div>
148
-
149
-
150
-
151
-
152
-
153
-
154
-
155
-
156
-
157
-
158
-
159
- <h5>Parameters:</h5>
160
-
161
-
162
- <table class="params">
163
- <thead>
164
- <tr>
165
-
166
- <th>Name</th>
167
-
168
-
169
- <th>Type</th>
170
-
171
-
172
-
173
-
174
-
175
- <th class="last">Description</th>
176
- </tr>
177
- </thead>
178
-
179
- <tbody>
180
-
181
-
182
- <tr>
183
-
184
- <td class="name"><code>str</code></td>
185
-
186
-
187
- <td class="type">
188
-
189
-
190
- <span class="param-type">string</span>
191
-
192
-
193
-
194
- </td>
195
-
196
-
197
-
198
-
199
-
200
- <td class="description last"></td>
201
- </tr>
202
-
203
-
204
- </tbody>
205
- </table>
206
-
207
-
208
-
209
-
210
-
211
-
212
-
213
-
214
-
215
-
216
-
217
-
218
-
219
-
220
-
221
-
222
- <h5>Returns:</h5>
223
-
224
-
225
- <div class="param-desc">
226
- the parsed color
227
- </div>
228
-
229
-
230
-
231
- <dl class="param-type">
232
- <dt>
233
- Type
234
- </dt>
235
- <dd>
236
-
237
- <span class="param-type"><a href="module-util.Color.html">module:util.Color</a></span>
238
-
239
-
240
- </dd>
241
- </dl>
242
-
243
-
244
-
245
-
246
-
247
-
248
-
249
-
250
-
251
-
252
- <h4 class="name" id=".parseFont"><span class="type-signature">(static) </span>parseFont<span class="signature">(str)</span><span class="type-signature"> &rarr; {<a href="module-util.Font.html">module:util.Font</a>}</span></h4>
253
-
254
-
255
-
256
-
257
-
258
-
259
- <dl class="details">
260
-
261
-
262
- <dt class="tag-source">Source:</dt>
263
- <dd class="tag-source"><ul class="dummy"><li>
264
- <a href="util.js.html">util.js</a>, <a href="util.js.html#line302">line 302</a>
265
- </li></ul></dd>
266
-
267
-
268
-
269
-
270
-
271
-
272
-
273
-
274
-
275
-
276
-
277
-
278
-
279
-
280
-
281
-
282
-
283
-
284
-
285
-
286
-
287
-
288
-
289
-
290
-
291
-
292
-
293
-
294
-
295
-
296
-
297
- </dl>
298
-
299
-
300
-
301
-
302
-
303
- <div class="description">
304
- Converts a css font string to a <a href="module-util.Font.html">module:util.Font</a> object representation.
305
- </div>
306
-
307
-
308
-
309
-
310
-
311
-
312
-
313
-
314
-
315
-
316
-
317
- <h5>Parameters:</h5>
318
-
319
-
320
- <table class="params">
321
- <thead>
322
- <tr>
323
-
324
- <th>Name</th>
325
-
326
-
327
- <th>Type</th>
328
-
329
-
330
-
331
-
332
-
333
- <th class="last">Description</th>
334
- </tr>
335
- </thead>
336
-
337
- <tbody>
338
-
339
-
340
- <tr>
341
-
342
- <td class="name"><code>str</code></td>
343
-
344
-
345
- <td class="type">
346
-
347
-
348
- <span class="param-type">string</span>
349
-
350
-
351
-
352
- </td>
353
-
354
-
355
-
356
-
357
-
358
- <td class="description last"></td>
359
- </tr>
360
-
361
-
362
- </tbody>
363
- </table>
364
-
365
-
366
-
367
-
368
-
369
-
370
-
371
-
372
-
373
-
374
-
375
-
376
-
377
-
378
-
379
-
380
- <h5>Returns:</h5>
381
-
382
-
383
- <div class="param-desc">
384
- the parsed font
385
- </div>
386
-
387
-
388
-
389
- <dl class="param-type">
390
- <dt>
391
- Type
392
- </dt>
393
- <dd>
394
-
395
- <span class="param-type"><a href="module-util.Font.html">module:util.Font</a></span>
396
-
397
-
398
- </dd>
399
- </dl>
400
-
401
-
402
-
403
-
404
-
405
-
406
-
407
-
408
-
409
-
410
- <h4 class="name" id=".watchPublic"><span class="type-signature">(static) </span>watchPublic<span class="signature">(target)</span><span class="type-signature"></span></h4>
411
-
412
-
413
-
414
-
415
-
416
-
417
- <dl class="details">
418
-
419
-
420
- <dt class="tag-source">Source:</dt>
421
- <dd class="tag-source"><ul class="dummy"><li>
422
- <a href="util.js.html">util.js</a>, <a href="util.js.html#line392">line 392</a>
423
- </li></ul></dd>
424
-
425
-
426
-
427
-
428
-
429
-
430
-
431
-
432
-
433
-
434
-
435
-
436
-
437
-
438
-
439
-
440
-
441
-
442
-
443
-
444
-
445
-
446
-
447
-
448
-
449
-
450
-
451
-
452
-
453
-
454
-
455
- </dl>
456
-
457
-
458
-
459
-
460
-
461
- <div class="description">
462
- <p>Emits "change" event when direct public properties updated. Should be called after
463
- all prototype methods are defined in class and after all public properties are
464
- initialized in constructor.
465
- <p>Must be called before any watchable properties are set, and only once in the prototype chain.
466
- </div>
467
-
468
-
469
-
470
-
471
-
472
-
473
-
474
-
475
-
476
-
477
-
478
- <h5>Parameters:</h5>
479
-
480
-
481
- <table class="params">
482
- <thead>
483
- <tr>
484
-
485
- <th>Name</th>
486
-
487
-
488
- <th>Type</th>
489
-
490
-
491
-
492
-
493
-
494
- <th class="last">Description</th>
495
- </tr>
496
- </thead>
497
-
498
- <tbody>
499
-
500
-
501
- <tr>
502
-
503
- <td class="name"><code>target</code></td>
504
-
505
-
506
- <td class="type">
507
-
508
-
509
- <span class="param-type">object</span>
510
-
511
-
512
-
513
- </td>
514
-
515
-
516
-
517
-
518
-
519
- <td class="description last">object to watch</td>
520
- </tr>
521
-
522
-
523
- </tbody>
524
- </table>
525
-
526
-
527
-
528
-
529
-
530
-
531
-
532
-
533
-
534
-
535
-
536
-
537
-
538
-
539
-
540
-
541
-
542
-
543
-
544
-
545
-
546
-
547
-
548
-
549
- <h4 class="name" id="~isKeyFrames"><span class="type-signature">(inner) </span>isKeyFrames<span class="signature">()</span><span class="type-signature"> &rarr; {boolean}</span></h4>
550
-
551
-
552
-
553
-
554
-
555
-
556
- <dl class="details">
557
-
558
-
559
- <dt class="tag-source">Source:</dt>
560
- <dd class="tag-source"><ul class="dummy"><li>
561
- <a href="util.js.html">util.js</a>, <a href="util.js.html#line56">line 56</a>
562
- </li></ul></dd>
563
-
564
-
565
-
566
-
567
-
568
-
569
-
570
-
571
-
572
-
573
-
574
-
575
-
576
-
577
-
578
-
579
-
580
-
581
-
582
-
583
-
584
-
585
-
586
-
587
-
588
-
589
-
590
-
591
-
592
-
593
-
594
- </dl>
595
-
596
-
597
-
598
-
599
-
600
-
601
-
602
-
603
-
604
-
605
-
606
-
607
-
608
-
609
-
610
-
611
-
612
-
613
-
614
-
615
-
616
-
617
-
618
-
619
-
620
-
621
-
622
-
623
-
624
- <h5>Returns:</h5>
625
-
626
-
627
- <div class="param-desc">
628
- <code>true</code> if <code>property</code> is a non-array object and all of its own
629
- property keys are numbers or <code>"interpolate"</code> or <code>"interpolationKeys"</code>, and
630
- <code>false</code> otherwise.
631
- </div>
632
-
633
-
634
-
635
- <dl class="param-type">
636
- <dt>
637
- Type
638
- </dt>
639
- <dd>
640
-
641
- <span class="param-type">boolean</span>
642
-
643
-
644
- </dd>
645
- </dl>
646
-
647
-
648
-
649
-
650
-
651
-
652
-
653
-
654
-
655
- <h3 class="subsection-title">Type Definitions</h3>
656
-
657
-
658
-
659
- <h4 class="name" id=".KeyFrames">KeyFrames</h4>
660
-
661
-
662
-
663
-
664
-
665
- <dl class="details">
666
-
667
-
668
- <dt class="tag-source">Source:</dt>
669
- <dd class="tag-source"><ul class="dummy"><li>
670
- <a href="util.js.html">util.js</a>, <a href="util.js.html#line76">line 76</a>
671
- </li></ul></dd>
672
-
673
-
674
-
675
-
676
-
677
-
678
-
679
-
680
-
681
-
682
-
683
-
684
-
685
-
686
-
687
-
688
-
689
-
690
-
691
-
692
-
693
-
694
-
695
-
696
-
697
-
698
-
699
-
700
-
701
-
702
-
703
- <dt class="tag-todo">To Do:</dt>
704
- <dd class="tag-todo">
705
- <ul>
706
- <li>Is this function efficient?</li>
707
-
708
- <li>Update doc @params to allow for keyframes</li>
709
- </ul>
710
- </dd>
711
-
712
- </dl>
713
-
714
-
715
-
716
- <h5 class="subsection-title">Properties:</h5>
717
-
718
-
719
-
720
- <table class="props">
721
- <thead>
722
- <tr>
723
-
724
- <th>Name</th>
725
-
726
-
727
- <th>Type</th>
728
-
729
-
730
-
731
-
732
-
733
- <th class="last">Description</th>
734
- </tr>
735
- </thead>
736
-
737
- <tbody>
738
-
739
-
740
- <tr>
741
-
742
- <td class="name"><code>interpolate</code></td>
743
-
744
-
745
- <td class="type">
746
-
747
-
748
- <span class="param-type">function</span>
749
-
750
-
751
-
752
- </td>
753
-
754
-
755
-
756
-
757
-
758
- <td class="description last">the function to interpolate between keyframes, defaults to
759
- module:util.linearInterp</td>
760
- </tr>
761
-
762
-
763
-
764
- <tr>
765
-
766
- <td class="name"><code>interpolationKeys</code></td>
767
-
768
-
769
- <td class="type">
770
-
771
-
772
- <span class="param-type">Array.&lt;string></span>
773
-
774
-
775
-
776
- </td>
777
-
778
-
779
-
780
-
781
-
782
- <td class="description last">keys to interpolate for objects, defaults to all
783
- own enumerable properties</td>
784
- </tr>
785
-
786
-
787
- </tbody>
788
- </table>
789
-
790
-
791
-
792
-
793
-
794
-
795
- <div class="description">
796
- Calculates the value of keyframe set <code>property</code> at <code>time</code> if
797
- <code>property</code> is an array, or returns <code>property</code>, assuming that it's a number.
798
- </div>
799
-
800
-
801
-
802
- <h5>Type:</h5>
803
- <ul>
804
- <li>
805
-
806
- <span class="param-type">Object</span>
807
-
808
-
809
- </li>
810
- </ul>
811
-
812
-
813
-
814
-
815
-
816
-
817
-
818
-
819
-
820
-
821
- </article>
822
-
823
- </section>
824
-
825
-
826
-
827
-
828
-
829
-
830
- </div>
831
-
832
- <br class="clear">
833
-
834
- <footer>
835
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Sun Oct 13 2019 15:38:43 GMT-0400 (Eastern Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
836
- </footer>
837
-
838
- <script>prettyPrint();</script>
839
- <script src="scripts/polyfill.js"></script>
840
- <script src="scripts/linenumber.js"></script>
841
-
842
-
843
-
844
- </body>
845
- </html>