-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathafter-effects-constants.js.html
762 lines (608 loc) · 30.7 KB
/
after-effects-constants.js.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
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
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
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
550
551
552
553
554
555
556
557
558
559
560
561
562
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
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
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
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
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title> after-effects-constants.js</title>
<script src="https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js"></script>
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
<script src="./build/entry.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link href="https://fonts.googleapis.com/css?family=Roboto:100,400,700|Inconsolata,700" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
<link type="text/css" rel="stylesheet" href="https://jmblog.github.io/color-themes-for-google-code-prettify/themes/tomorrow-night.min.css">
<link type="text/css" rel="stylesheet" href="styles/app.min.css">
<link type="text/css" rel="stylesheet" href="styles/iframe.css">
<link type="text/css" rel="stylesheet" href="">
<script async defer src="https://buttons.github.io/buttons.js"></script>
</head>
<body class="layout small-header">
<div id="stickyNavbarOverlay"></div>
<div class="top-nav">
<div class="inner">
<a id="hamburger" role="button" class="navbar-burger" aria-label="menu" aria-expanded="false">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
</a>
<div class="logo">
</div>
<div class="menu">
<div class="navigation">
<a
href="index.html"
class="link"
>
API Documentation
</a>
<div class="dropdown is-hoverable is-right">
<a class="dropdown-trigger link">
Tutorials
<i class="fas fa-chevron-down fa-xs"></i>
</a>
<div class="dropdown-menu">
<div class="dropdown-content">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="main">
<div
class="sidebar "
id="sidebarNav"
>
<nav>
<h2><a href="index.html">Documentation</a></h2><div class="category"><h3>Classes</h3><ul><li><a href="b.html">b</a></li></ul><h3>Global</h3><ul><li><a href="global.html#abs">abs</a></li><li><a href="global.html#acos">acos</a></li><li><a href="global.html#asin">asin</a></li><li><a href="global.html#atan">atan</a></li><li><a href="global.html#atan2">atan2</a></li><li><a href="global.html#binary">binary</a></li><li><a href="global.html#ceil">ceil</a></li><li><a href="global.html#constrain">constrain</a></li><li><a href="global.html#cos">cos</a></li><li><a href="global.html#day">day</a></li><li><a href="global.html#degrees">degrees</a></li><li><a href="global.html#dist">dist</a></li><li><a href="global.html#endsWith">endsWith</a></li><li><a href="global.html#exp">exp</a></li><li><a href="global.html#floor">floor</a></li><li><a href="global.html#forEach">forEach</a></li><li><a href="global.html#go">go</a></li><li><a href="global.html#HashList">HashList</a></li><li><a href="global.html#hex">hex</a></li><li><a href="global.html#hour">hour</a></li><li><a href="global.html#isArray">isArray</a></li><li><a href="global.html#isNumber">isNumber</a></li><li><a href="global.html#isString">isString</a></li><li><a href="global.html#isURL">isURL</a></li><li><a href="global.html#itemsFromFolder">itemsFromFolder</a></li><li><a href="global.html#itemsFromFolderGUI">itemsFromFolderGUI</a></li><li><a href="global.html#join">join</a></li><li><a href="global.html#lerp">lerp</a></li><li><a href="global.html#loadAI">loadAI</a></li><li><a href="global.html#loadItem">loadItem</a></li><li><a href="global.html#loadSequence">loadSequence</a></li><li><a href="global.html#loadString">loadString</a></li><li><a href="global.html#loadStrings">loadStrings</a></li><li><a href="global.html#log">log</a></li><li><a href="global.html#mag">mag</a></li><li><a href="global.html#map">map</a></li><li><a href="global.html#max">max</a></li><li><a href="global.html#millis">millis</a></li><li><a href="global.html#millisecond">millisecond</a></li><li><a href="global.html#min">min</a></li><li><a href="global.html#minute">minute</a></li><li><a href="global.html#month">month</a></li><li><a href="global.html#nf">nf</a></li><li><a href="global.html#nfc">nfc</a></li><li><a href="global.html#nfp">nfp</a></li><li><a href="global.html#nfs">nfs</a></li><li><a href="global.html#norm">norm</a></li><li><a href="global.html#pow">pow</a></li><li><a href="global.html#print">print</a></li><li><a href="global.html#printInfo">printInfo</a></li><li><a href="global.html#println">println</a></li><li><a href="global.html#projectFolder">projectFolder</a></li><li><a href="global.html#radians">radians</a></li><li><a href="global.html#round">round</a></li><li><a href="global.html#saveString">saveString</a></li><li><a href="global.html#saveStrings">saveStrings</a></li><li><a href="global.html#second">second</a></li><li><a href="global.html#sin">sin</a></li><li><a href="global.html#split">split</a></li><li><a href="global.html#splitTokens">splitTokens</a></li><li><a href="global.html#sq">sq</a></li><li><a href="global.html#sqrt">sqrt</a></li><li><a href="global.html#startsWith">startsWith</a></li><li><a href="global.html#tan">tan</a></li><li><a href="global.html#timestamp">timestamp</a></li><li><a href="global.html#trim">trim</a></li><li><a href="global.html#trimWord">trimWord</a></li><li><a href="global.html#unbinary">unbinary</a></li><li><a href="global.html#unhex">unhex</a></li><li><a href="global.html#Vector">Vector</a></li><li><a href="global.html#weekday">weekday</a></li><li><a href="global.html#year">year</a></li></ul></div><div class="category"><h2>Baffects.js</h2><h3>Global</h3><ul><li><a href="global.html#addFX">addFX</a></li><li><a href="global.html#addItemToComp">addItemToComp</a></li><li><a href="global.html#addLayer">addLayer</a></li><li><a href="global.html#addPreset">addPreset</a></li><li><a href="global.html#addToRender">addToRender</a></li><li><a href="global.html#addToRenderAME">addToRenderAME</a></li><li><a href="global.html#adjustmenLayer">adjustmenLayer</a></li><li><a href="global.html#anchor">anchor</a></li><li><a href="global.html#anchorMode">anchorMode</a></li><li><a href="global.html#audioToKeyframes">audioToKeyframes</a></li><li><a href="global.html#background">background</a></li><li><a href="global.html#beginMask">beginMask</a></li><li><a href="global.html#beginShape">beginShape</a></li><li><a href="global.html#beginUndo">beginUndo</a></li><li><a href="global.html#blendingMode">blendingMode</a></li><li><a href="global.html#blendMode">blendMode</a></li><li><a href="global.html#bounds">bounds</a></li><li><a href="global.html#camera">camera</a></li><li><a href="global.html#capMode">capMode</a></li><li><a href="global.html#cleanComp">cleanComp</a></li><li><a href="global.html#clearRenderQueue">clearRenderQueue</a></li><li><a href="global.html#collapseVectors">collapseVectors</a></li><li><a href="global.html#color">color</a></li><li><a href="global.html#createComp">createComp</a></li><li><a href="global.html#createShapes">createShapes</a></li><li><a href="global.html#delay">delay</a></li><li><a href="global.html#deleteComp">deleteComp</a></li><li><a href="global.html#duplicate">duplicate</a></li><li><a href="global.html#ease">ease</a></li><li><a href="global.html#ellipse">ellipse</a></li><li><a href="global.html#endMask">endMask</a></li><li><a href="global.html#endShape">endShape</a></li><li><a href="global.html#endUndo">endUndo</a></li><li><a href="global.html#expression">expression</a></li><li><a href="global.html#fill">fill</a></li><li><a href="global.html#frameCount">frameCount</a></li><li><a href="global.html#frameTime">frameTime</a></li><li><a href="global.html#getAllComps">getAllComps</a></li><li><a href="global.html#getAllFXProperties">getAllFXProperties</a></li><li><a href="global.html#getAllLayers">getAllLayers</a></li><li><a href="global.html#getCenter">getCenter</a></li><li><a href="global.html#getComp">getComp</a></li><li><a href="global.html#getDuration">getDuration</a></li><li><a href="global.html#getIndex">getIndex</a></li><li><a href="global.html#getItem">getItem</a></li><li><a href="global.html#getLayer">getLayer</a></li><li><a href="global.html#getLayers">getLayers</a></li><li><a href="global.html#getProperty">getProperty</a></li><li><a href="global.html#getTotalFrames">getTotalFrames</a></li><li><a href="global.html#height">height</a></li><li><a href="global.html#hsbaToRgba">hsbaToRgba</a></li><li><a href="global.html#interpolationMode">interpolationMode</a></li><li><a href="global.html#isShape">isShape</a></li><li><a href="global.html#itangent">itangent</a></li><li><a href="global.html#key">key</a></li><li><a href="global.html#lastShape">lastShape</a></li><li><a href="global.html#light">light</a></li><li><a href="global.html#line">line</a></li><li><a href="global.html#mask">mask</a></li><li><a href="global.html#maskMode">maskMode</a></li><li><a href="global.html#motionBlur">motionBlur</a></li><li><a href="global.html#moveFrames">moveFrames</a></li><li><a href="global.html#noFill">noFill</a></li><li><a href="global.html#noise">noise</a></li><li><a href="global.html#noiseDetail">noiseDetail</a></li><li><a href="global.html#noiseSeed">noiseSeed</a></li><li><a href="global.html#noStroke">noStroke</a></li><li><a href="global.html#nullLayer">nullLayer</a></li><li><a href="global.html#numLayers">numLayers</a></li><li><a href="global.html#otangent">otangent</a></li><li><a href="global.html#parent">parent</a></li><li><a href="global.html#polygon">polygon</a></li><li><a href="global.html#popMatrix">popMatrix</a></li><li><a href="global.html#preComp">preComp</a></li><li><a href="global.html#printProperties">printProperties</a></li><li><a href="global.html#pushMatrix">pushMatrix</a></li><li><a href="global.html#random">random</a></li><li><a href="global.html#randomGaussian">randomGaussian</a></li><li><a href="global.html#randomSeed">randomSeed</a></li><li><a href="global.html#rect">rect</a></li><li><a href="global.html#removeAllKeyframes">removeAllKeyframes</a></li><li><a href="global.html#render">render</a></li><li><a href="global.html#renderAME">renderAME</a></li><li><a href="global.html#resetMatrix">resetMatrix</a></li><li><a href="global.html#reverseLayers">reverseLayers</a></li><li><a href="global.html#rotate">rotate</a></li><li><a href="global.html#scale">scale</a></li><li><a href="global.html#selectedLayers">selectedLayers</a></li><li><a href="global.html#set3DMode">set3DMode</a></li><li><a href="global.html#setComp">setComp</a></li><li><a href="global.html#setCompDuration">setCompDuration</a></li><li><a href="global.html#setMaskMode">setMaskMode</a></li><li><a href="global.html#shape">shape</a></li><li><a href="global.html#shapePuckerBloat">shapePuckerBloat</a></li><li><a href="global.html#shapeRepeater">shapeRepeater</a></li><li><a href="global.html#shapeTrimPaths">shapeTrimPaths</a></li><li><a href="global.html#shapeTwist">shapeTwist</a></li><li><a href="global.html#shapeWigglePaths">shapeWigglePaths</a></li><li><a href="global.html#shapeWiggleTransform">shapeWiggleTransform</a></li><li><a href="global.html#shapeZigZag">shapeZigZag</a></li><li><a href="global.html#slider">slider</a></li><li><a href="global.html#spatialMode">spatialMode</a></li><li><a href="global.html#speed">speed</a></li><li><a href="global.html#speedAll">speedAll</a></li><li><a href="global.html#speedEase">speedEase</a></li><li><a href="global.html#stroke">stroke</a></li><li><a href="global.html#strokeWeight">strokeWeight</a></li><li><a href="global.html#text">text</a></li><li><a href="global.html#textAlign">textAlign</a></li><li><a href="global.html#textAllTransform">textAllTransform</a></li><li><a href="global.html#textAnchorPoint">textAnchorPoint</a></li><li><a href="global.html#textBlur">textBlur</a></li><li><a href="global.html#textCharacterOffset">textCharacterOffset</a></li><li><a href="global.html#textCharacterValue">textCharacterValue</a></li><li><a href="global.html#textFill">textFill</a></li><li><a href="global.html#textFont">textFont</a></li><li><a href="global.html#textOpacity">textOpacity</a></li><li><a href="global.html#textPosition">textPosition</a></li><li><a href="global.html#textRotation">textRotation</a></li><li><a href="global.html#textScale">textScale</a></li><li><a href="global.html#textSize">textSize</a></li><li><a href="global.html#textSkew">textSkew</a></li><li><a href="global.html#textStroke">textStroke</a></li><li><a href="global.html#textStrokeWidth">textStrokeWidth</a></li><li><a href="global.html#timeRemap">timeRemap</a></li><li><a href="global.html#trackMatte">trackMatte</a></li><li><a href="global.html#translate">translate</a></li><li><a href="global.html#vertex">vertex</a></li><li><a href="global.html#width">width</a></li></ul></div><div class="category"><h2>Baffects.js Constants</h2><h3>Global</h3><ul><li><a href="global.html#ADD">ADD</a></li><li><a href="global.html#ALPHA_ADD">ALPHA_ADD</a></li><li><a href="global.html#AMBIENT">AMBIENT</a></li><li><a href="global.html#BUTT">BUTT</a></li><li><a href="global.html#CLASSIC_COLOR_BURN">CLASSIC_COLOR_BURN</a></li><li><a href="global.html#CLASSIC_COLOR_DODGE">CLASSIC_COLOR_DODGE</a></li><li><a href="global.html#CLASSIC_DIFFERENCE">CLASSIC_DIFFERENCE</a></li><li><a href="global.html#CLOSE">CLOSE</a></li><li><a href="global.html#COLOR">COLOR</a></li><li><a href="global.html#COLOR_BURN">COLOR_BURN</a></li><li><a href="global.html#COLOR_DODGE">COLOR_DODGE</a></li><li><a href="global.html#DANCING_DISSOLVE">DANCING_DISSOLVE</a></li><li><a href="global.html#DARKEN">DARKEN</a></li><li><a href="global.html#DARKER_COLOR">DARKER_COLOR</a></li><li><a href="global.html#DIFFERENCE">DIFFERENCE</a></li><li><a href="global.html#DISSABLE">DISSABLE</a></li><li><a href="global.html#DISSOLVE">DISSOLVE</a></li><li><a href="global.html#DIVIDE">DIVIDE</a></li><li><a href="global.html#ENABLE">ENABLE</a></li><li><a href="global.html#EPSILON">EPSILON</a></li><li><a href="global.html#EXCLUSION">EXCLUSION</a></li><li><a href="global.html#HALF_PI">HALF_PI</a></li><li><a href="global.html#HARD_LIGHT">HARD_LIGHT</a></li><li><a href="global.html#HARD_MIX">HARD_MIX</a></li><li><a href="global.html#HUE">HUE</a></li><li><a href="global.html#INACTIVE">INACTIVE</a></li><li><a href="global.html#KAPPA">KAPPA</a></li><li><a href="global.html#LIGHTEN">LIGHTEN</a></li><li><a href="global.html#LIGHTER_COLOR">LIGHTER_COLOR</a></li><li><a href="global.html#LINEAR_BURN">LINEAR_BURN</a></li><li><a href="global.html#LINEAR_DODGE">LINEAR_DODGE</a></li><li><a href="global.html#LINEAR_LIGHT">LINEAR_LIGHT</a></li><li><a href="global.html#LINES">LINES</a></li><li><a href="global.html#LUMINESCENT_PREMUL">LUMINESCENT_PREMUL</a></li><li><a href="global.html#LUMINOSITY">LUMINOSITY</a></li><li><a href="global.html#M_NONE">M_NONE</a></li><li><a href="global.html#MULTIPLY">MULTIPLY</a></li><li><a href="global.html#NORMAL">NORMAL</a></li><li><a href="global.html#OVERLAY">OVERLAY</a></li><li><a href="global.html#PARALLEL">PARALLEL</a></li><li><a href="global.html#PI">PI</a></li><li><a href="global.html#PIN_LIGHT">PIN_LIGHT</a></li><li><a href="global.html#POINT">POINT</a></li><li><a href="global.html#PROJECTING">PROJECTING</a></li><li><a href="global.html#QUADS">QUADS</a></li><li><a href="global.html#QUARTER_PI">QUARTER_PI</a></li><li><a href="global.html#RGB">RGB</a></li><li><a href="global.html#ROUND">ROUND</a></li><li><a href="global.html#SATURATION">SATURATION</a></li><li><a href="global.html#SCREEN">SCREEN</a></li><li><a href="global.html#SILHOUETE_ALPHA">SILHOUETE_ALPHA</a></li><li><a href="global.html#SILHOUETTE_LUMA">SILHOUETTE_LUMA</a></li><li><a href="global.html#SINCOS_LENGTH">SINCOS_LENGTH</a></li><li><a href="global.html#SOFT_LIGHT">SOFT_LIGHT</a></li><li><a href="global.html#SPOT">SPOT</a></li><li><a href="global.html#STENCIL_ALPHA">STENCIL_ALPHA</a></li><li><a href="global.html#STENCIL_LUMA">STENCIL_LUMA</a></li><li><a href="global.html#SUBTRACT">SUBTRACT</a></li><li><a href="global.html#TRIANGLES">TRIANGLES</a></li><li><a href="global.html#TWO_PI">TWO_PI</a></li><li><a href="global.html#VIVID_LIGHT">VIVID_LIGHT</a></li></ul></div>
</nav>
</div>
<div class="core" id="main-content-wrapper">
<div class="content">
<header class="page-title">
<p>Source</p>
<h1>after-effects-constants.js</h1>
</header>
<section>
<article>
<pre class="prettyprint source linenums"><code>/**
* Used with b.colorMode() to set the color space.
* @const RGB {String}
* @category Baffects.js Constants
*/
pub.RGB = "rgb";
/**
* Two Pi.
* @const TWO_PI {number}
* @category Baffects.js Constants
*/
pub.TWO_PI = Math.PI * 2;
/**
* Pi.
* @const PI {number}
* @category Baffects.js Constants
*/
pub.PI = Math.PI;
/**
* Half Pi.
* @const HALF_PI {number}
* @category Baffects.js Constants
*/
pub.HALF_PI = Math.PI / 2;
/**
* Quarter Pi.
* @const QUARTER_PI {number}
* @category Baffects.js Constants
*/
pub.QUARTER_PI = Math.PI / 4;
/**
* Sin Cos Length.
* @const SINCOS_LENGTH {number}
* @category Baffects.js Constants
*/
pub.SINCOS_LENGTH = 720;
/**
* Epsilon.
* @const EPSILON {number}
* @category Baffects.js Constants
*/
pub.EPSILON = 10e-12;
/**
* Kappa.
* @const KAPPA {number}
* @category Baffects.js Constants
*/
// Kappa, see: http://www.whizkidtech.redprince.net/bezier/circle/kappa/
pub.KAPPA = (4.0 * (Math.sqrt(2.0) - 1.0) / 3.0);
//________________________________________________________________
//After effects text constants
/**
* Left text alignment.
* @category Baffects.js Constants
* @const J_LEFT {Text Justification Mode}
*/
pub.J_LEFT = ParagraphJustification.LEFT_JUSTIFY;
/**
* Right text alignment.
* @category Baffects.js Constants
* @const J_RIGHT {Text Justification Mode}
*/
pub.J_RIGHT = ParagraphJustification.RIGHT_JUSTIFY;
/**
* Center text alignment.
* @category Baffects.js Constants
* @const J_CENTER {Text Justification Mode}
*/
pub.J_CENTER = ParagraphJustification.CENTER_JUSTIFY;
/**
* Full left text alignment.
* @category Baffects.js Constants
* @const J_FULL_LEFT {Text Justification Mode}
*/
pub.J_FULL_LEFT = ParagraphJustification.FULL_JUSTIFY_LASTLINE_LEFT;
/**
* Full right text alignment
* @category Baffects.js Constants
* @const J_FULL_RIGHT {Text Justification Mode}
*/
pub.J_FULL_RIGHT = ParagraphJustification.FULL_JUSTIFY_LASTLINE_RIGHT;
/**
* Full center text alignment
* @category Baffects.js Constants
* @const J_FULL_CENTER {Text Justification Mode}
*/
pub.J_FULL_CENTER = ParagraphJustification.FULL_JUSTIFY_LASTLINE_CENTER;
/**
* Full text alignment
* @category Baffects.js Constants
* @const J_FULL {Text Justification Mode}
*/
pub.J_FULL = ParagraphJustification.FULL_JUSTIFY_LASTLINE_FULL;
//________________________________________________________________
//After effects keyframes constants
/**
* Bezier keyframe interpolation.
* @category Baffects.js Constants
* @const BEZIER {Keyframe Interpolation Mode}
*/
pub.BEZIER = KeyframeInterpolationType.BEZIER;
/**
* Linear keyframe interpolation.
* @category Baffects.js Constants
* @const LINEAR {Keyframe Interpolation Mode}
*/
pub.LINEAR = KeyframeInterpolationType.LINEAR;
/**
* Hold keyframe interpolation.
* @category Baffects.js Constants
* @const HOLD {Keyframe Interpolation Mode}
*/
pub.HOLD = KeyframeInterpolationType.HOLD;
/**
* Auto bezier for keyframe spatial interpolation.
* @category Baffects.js Constants
* @const HOLD {Keyframe Interpolation Mode}
*/
pub.AUTO_BEZIER = "auto";
//________________________________________________________________
//After effects 3D constants
/**
* Enable 3D mode in layer.
* @category Baffects.js Constants
* @const ENABLE {3DMode}
*/
b.ENABLE = true;
/**
* Dissable 3D mode in layer.
* @category Baffects.js Constants
* @const DISSABLE {3DMode}
*/
b.DISSABLE = false;
//________________________________________________________________
//After effects blend modes constants
/**
* Add blending mode in layers.
* @category Baffects.js Constants
* @const ADD {BlendMode}
*/
pub.ADD = BlendingMode.ADD;
/**
* Alpha add blending mode in layers.
* @category Baffects.js Constants
* @const ALPHA_ADD {BlendMode}
*/
pub.ALPHA_ADD = BlendingMode.ALPHA_ADD;
/**
* Classic color burn blending mode in layers.
* @category Baffects.js Constants
* @const CLASSIC_COLOR_BURN {BlendMode}
*/
pub.CLASSIC_COLOR_BURN = BlendingMode.CLASSIC_COLOR_BURN;
/**
* Classic color dodge blending mode in layers.
* @category Baffects.js Constants
* @const CLASSIC_COLOR_DODGE {BlendMode}
*/
pub.CLASSIC_COLOR_DODGE = BlendingMode.CLASSIC_COLOR_DODGE;
/**
* Classic difference blending mode in layers.
* @category Baffects.js Constants
* @const CLASSIC_DIFFERENCE {BlendMode}
*/
pub.CLASSIC_DIFFERENCE = BlendingMode.CLASSIC_DIFFERENCE;
/**
* Color blending mode in layers.
* @category Baffects.js Constants
* @const COLOR {BlendMode}
*/
pub.COLOR = BlendingMode.COLOR;
/**
* Color burn blending mode in layers.
* @category Baffects.js Constants
* @const COLOR_BURN {BlendMode}
*/
pub.COLOR_BURN = BlendingMode.COLOR_BURN;
/**
* Color dodge blending mode in layers.
* @category Baffects.js Constants
* @const COLOR_DODGE {BlendMode}
*/
pub.COLOR_DODGE = BlendingMode.COLOR_DODGE;
/**
* Dancing dissolve blending mode in layers.
* @category Baffects.js Constants
* @const DANCING_DISSOLVE {BlendMode}
*/
pub.DANCING_DISSOLVE = BlendingMode.DANCING_DISSOLVE;
/**
* Darken blending mode in layers.
* @category Baffects.js Constants
* @const DARKEN {BlendMode}
*/
pub.DARKEN = BlendingMode.DARKEN;
/**
* Darker color blending mode in layers.
* @category Baffects.js Constants
* @const DARKER_COLOR {BlendMode}
*/
pub.DARKER_COLOR = BlendingMode.DARKER_COLOR;
/**
* Difference blending mode in layers.
* @category Baffects.js Constants
* @const DIFFERENCE {BlendMode}
*/
pub.DIFFERENCE = BlendingMode.DIFFERENCE;
/**
* Dissolve blending mode in layers.
* @category Baffects.js Constants
* @const DISSOLVE {BlendMode}
*/
pub.DISSOLVE = BlendingMode.DISSOLVE;
/**
* Divide blending mode in layers.
* @category Baffects.js Constants
* @const DIVIDE {BlendMode}
*/
pub.DIVIDE = BlendingMode.DIVIDE;
/**
* Exclusion blending mode in layers.
* @category Baffects.js Constants
* @const EXCLUSION {BlendMode}
*/
pub.EXCLUSION = BlendingMode.EXCLUSION;
/**
* Hard light blending mode in layers.
* @category Baffects.js Constants
* @const HARD_LIGHT {BlendMode}
*/
pub.HARD_LIGHT = BlendingMode.HARD_LIGHT;
/**
* Hard mix blending mode in layers.
* @category Baffects.js Constants
* @const HARD_MIX {BlendMode}
*/
pub.HARD_MIX = BlendingMode.HARD_MIX;
/**
* Hue blending mode in layers.
* @category Baffects.js Constants
* @const HUE {BlendMode}
*/
pub.HUE = BlendingMode.HUE;
/**
* Lighten blending mode in layers.
* @category Baffects.js Constants
* @const LIGHTEN {BlendMode}
*/
pub.LIGHTEN = BlendingMode.LIGHTEN;
/**
* Lighter color blending mode in layers.
* @category Baffects.js Constants
* @const LIGHTER_COLOR {BlendMode}
*/
pub.LIGHTER_COLOR = BlendingMode.LIGHTER_COLOR;
/**
* Linear burn blending mode in layers.
* @category Baffects.js Constants
* @const LINEAR_BURN {BlendMode}
*/
pub.LINEAR_BURN = BlendingMode.LINEAR_BURN;
/**
* Linear dodge blending mode in layers.
* @category Baffects.js Constants
* @const LINEAR_DODGE {BlendMode}
*/
pub.LINEAR_DODGE = BlendingMode.LINEAR_DODGE;
/**
* Linear light blending mode in layers.
* @category Baffects.js Constants
* @const LINEAR_LIGHT {BlendMode}
*/
pub.LINEAR_LIGHT = BlendingMode.LINEAR_LIGHT;
/**
* Luminescent premul blending mode in layers.
* @category Baffects.js Constants
* @const LUMINESCENT_PREMUL {BlendMode}
*/
pub.LUMINESCENT_PREMUL = BlendingMode.LUMINESCENT_PREMUL;
/**
* Luminosity blending mode in layers.
* @category Baffects.js Constants
* @const LUMINOSITY {BlendMode}
*/
pub.LUMINOSITY = BlendingMode.LUMINOSITY;
/**
* Multiply blending mode in layers.
* @category Baffects.js Constants
* @const MULTIPLY {BlendMode}
*/
pub.MULTIPLY = BlendingMode.MULTIPLY;
/**
* Normal blending mode in layers.
* @category Baffects.js Constants
* @const NORMAL {BlendMode}
*/
pub.NORMAL = BlendingMode.NORMAL;
/**
* Overlay blending mode in layers.
* @category Baffects.js Constants
* @const OVERLAY {BlendMode}
*/
pub.OVERLAY = BlendingMode.OVERLAY;
/**
* Pin light blending mode in layers.
* @category Baffects.js Constants
* @const PIN_LIGHT {BlendMode}
*/
pub.PIN_LIGHT = BlendingMode.PIN_LIGHT;
/**
* Saturation blending mode in layers.
* @category Baffects.js Constants
* @const SATURATION {BlendMode}
*/
pub.SATURATION = BlendingMode.SATURATION;
/**
* Screen blending mode in layers.
* @category Baffects.js Constants
* @const SCREEN {BlendMode}
*/
pub.SCREEN = BlendingMode.SCREEN;
/**
* Silhouete alpha blending mode in layers.
* @category Baffects.js Constants
* @const SILHOUETE_ALPHA {BlendMode}
*/
pub.SILHOUETTE_ALPHA = BlendingMode.SILHOUETE_ALPHA;
/**
* Silhouette luma blending mode in layers.
* @category Baffects.js Constants
* @const SILHOUETTE_LUMA {BlendMode}
*/
pub.SILHOUETTE_LUMA = BlendingMode.SILHOUETTE_LUMA;
/**
* Subtract blending mode in layers.
* @category Baffects.js Constants
* @const SUBTRACT {BlendMode}
*/
pub.SUBTRACT = BlendingMode.SUBTRACT;
/**
* Soft light blending mode in layers.
* @category Baffects.js Constants
* @const SOFT_LIGHT {BlendMode}
*/
pub.SOFT_LIGHT = BlendingMode.SOFT_LIGHT;
/**
* Stencil alpha blending mode in layers.
* @category Baffects.js Constants
* @const STENCIL_ALPHA {BlendMode}
*/
pub.STENCIL_ALPHA = BlendingMode.STENCIL_ALPHA;
/**
* Stencil alpha blending mode in layers.
* @category Baffects.js Constants
* @const STENCIL_LUMA {BlendMode}
*/
pub.STENCIL_LUMA = BlendingMode.STENCIL_LUMA;
/**
* Vivid light blending mode in layers.
* @category Baffects.js Constants
* @const VIVID_LIGHT {BlendMode}
*/
pub.VIVID_LIGHT = BlendingMode.VIVID_LIGHT;
//________________________________________________________________
//After effects track matte constants
/**
* Alpha track matte.
* @category Baffects.js Constants
* @const ALPHA {Track Matte Mode}
*/
pub.ALPHA = TrackMatteType.ALPHA;
/**
* Alpha inverted track matte.
* @category Baffects.js Constants
* @const ALPHA_INVERTED {Track Matte Mode}
*/
pub.ALPHA_INVERTED = TrackMatteType.ALPHA_INVERTED;
/**
* Luma track matte.
* @category Baffects.js Constants
* @const LUMA {Track Matte Mode}
*/
pub.LUMA = TrackMatteType.LUMA;
/**
* Luma inverted track matte.
* @category Baffects.js Constants
* @const LUMA_INVERTED {Track Matte Mode}
*/
pub.LUMA_INVERTED = TrackMatteType.LUMA_INVERTED;
/**
* No track matte.
* @category Baffects.js Constants
* @const NO_TRACK_MATTE {Track Matte Mode}
*/
pub.NO_TRACK_MATTE = TrackMatteType.NO_TRACK_MATTE;
//________________________________________________________________
//After effects light constants
/**
* Parallel light type.
* @category Baffects.js Constants
* @const PARALLEL {LightType}
*/
pub.PARALLEL = LightType.PARALLEL
/**
* Spot light type.
* @category Baffects.js Constants
* @const SPOT {LightType}
*/
pub.SPOT = LightType.SPOT
/**
* Point light type.
* @category Baffects.js Constants
* @const POINT {LightType}
*/
pub.POINT = LightType.POINT
/**
* Ambient light type.
* @category Baffects.js Constants
* @const AMBIENT {LightType}
*/
pub.AMBIENT = LightType.AMBIENT
//________________________________________________________________
//After effects mask constants
/**
* Mask mode none.
* @category Baffects.js Constants
* @const M_NONE {MaskMode}
*/
pub.M_NONE = MaskMode.NONE;
/**
* Mask mode add.
* @category Baffects.js Constants
* @const M_NONE {MaskMode}
*/
pub.M_ADD = MaskMode.ADD;
/**
* Mask mode subtract.
* @category Baffects.js Constants
* @const M_NONE {MaskMode}
*/
pub.M_SUBTRACT = MaskMode.SUBTRACT;
/**
* Mask mode intersect.
* @category Baffects.js Constants
* @const M_NONE {MaskMode}
*/
pub.M_INTERSECT = MaskMode.INTERSECT;
/**
* Mask mode lighten.
* @category Baffects.js Constants
* @const M_NONE {MaskMode}
*/
pub.M_LIGHTEN = MaskMode.LIGHTEN;
/**
* Mask mode darken.
* @category Baffects.js Constants
* @const M_NONE {MaskMode}
*/
pub.M_DARKEN = MaskMode.DARKEN;
/**
* Mask mode difference.
* @category Baffects.js Constants
* @const M_NONE {MaskMode}
*/
pub.M_DIFFERENCE = MaskMode.DIFFERENCE;
//Begin and End Shape
/**
* Close, used for endShape() modes.
* @category Baffects.js Constants
* @const CLOSE {String}
*/
pub.CLOSE = true;
/**
* Draw mode for beginShape() and endShape().
* @category Baffects.js Constants
* @const LINES
*/
pub.LINES = 1;
/**
* Draw mode for beginShape() and endShape().
* @category Baffects.js Constants
* @const QUADS
*/
pub.QUADS = 2;
/**
* Draw mode for beginShape() and endShape().
* @category Baffects.js Constants
* @const TRIANGLES
*/
pub.TRIANGLES = 3;
/**
* Set layer to inactive but get the shape for animation.
* @category Baffects.js Constants
* @const INACTIVE
*/
pub.INACTIVE = false;
/**
* Line cap butt option.
* @category Baffects.js Constants
* @const BUTT
*/
pub.BUTT = 0;
/**
* Line cap round option.
* @category Baffects.js Constants
* @const ROUND
*/
pub.ROUND = 1;
/**
* Line cap projectin option.
* @category Baffects.js Constants
* @const PROJECTING
*/
pub.PROJECTING = 2;
var ERROR_PREFIX = "\nBaffects.js Error -> ",
WARNING_PREFIX = "### Baffects Warning -> ";</code></pre>
</article>
</section>
</div>
<footer class="footer">
<div class="content has-text-centered">
<p>Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.4</a></p>
<p class="sidebar-created-by">
<a href="https://github.com/SoftwareBrothers/better-docs" target="_blank">BetterDocs theme</a> provided with <i class="fas fa-heart"></i> by
<a href="http://softwarebrothers.co" target="_blank">SoftwareBrothers - JavaScript Development Agency</a>
</p>
</div>
</footer>
</div>
<div id="side-nav" class="side-nav">
</div>
</div>
<script src="scripts/app.min.js"></script>
<script>PR.prettyPrint();</script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>