Constructor
new Animation(object, timing, period, change)
- Description:
- Creates an animation instance
- Source:
Properties:
Name |
Type |
Description |
object |
clObject
|
CanvasLab object |
timing |
string
|
function
|
Timing function |
period |
number
|
Period of time |
change |
Object
|
Change to object |
options |
Object
|
Options for this object |
Parameters:
Name |
Type |
Description |
object |
clObject
|
Canvas Lab object |
timing |
string
|
function
|
Timing function |
period |
number
|
Period of time |
change |
Object
|
Change to 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:
-
change(value)
- Description:
- Source:
Parameters:
Name |
Type |
Description |
value |
clChange
|
Canvas Lab change object |
- Description:
- Source:
Returns:
Canvas Lab change object
-
Type
-
clChange
object(value)
- Description:
- Source:
Parameters:
Name |
Type |
Description |
value |
clObject
|
Canvas Lab object |
- Description:
- Source:
Returns:
Canvas Lab object
-
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
timing(value)
- Description:
- Source:
Parameters:
Name |
Type |
Description |
value |
string
|
function
|
Timing function |
timing() → {function}
- Description:
- Source:
Returns:
Timing function
-
Type
-
function