Constructor
new Animations()
- Description:
- Creates an animation instance
- Source:
Properties:
Name |
Type |
Description |
objects |
Array.<clObject>
|
CanvasLab objects |
timings |
Array.<(string|function())>
|
Timing functions |
periods |
number
|
Period of time |
changes |
Array.<Object>
|
Changes an object |
options |
Object
|
Options for this object |
Methods
animate()
- Description:
- Source:
cache(value)
- Description:
- Source:
- See:
-
Parameters:
Name |
Type |
Description |
value |
boolean
|
True || False |
cache() → {boolean}
- Description:
- Source:
- See:
-
Returns:
True || False
-
Type
-
boolean
cancel()
- Description:
- Source:
- See:
-
changes(value)
- Description:
- Source:
Parameters:
Name |
Type |
Description |
value |
clChange
|
Canvas Lab changes object |
- Description:
- Source:
Returns:
Canvas Lab changes object
-
Type
-
clChange
objects(value)
- Description:
- Source:
Parameters:
Name |
Type |
Description |
value |
clObject
|
Canvas Lab objects |
- Description:
- Source:
Returns:
Canvas Lab objects
-
Type
-
clObject
period(value)
- Description:
- Source:
- See:
-
Parameters:
Name |
Type |
Description |
value |
number
|
Period of animation-time |
period() → {number}
- Description:
- Source:
- See:
-
Returns:
Period of animation-time
-
Type
-
number
queue(value)
- Description:
- Source:
- See:
-
Parameters:
Name |
Type |
Description |
value |
Queue
|
Queue object |
queue() → {Queue}
- Description:
- Source:
- See:
-
Returns:
Queue object
-
Type
-
Queue
timings(value)
- Description:
- Source:
Parameters:
Name |
Type |
Description |
value |
string
|
function
|
Timing function |
timings() → {function}
- Description:
- Source:
Returns:
Timing function
-
Type
-
function