Bezier handle for keyframe interpolation.
More...
|
def | __init__ (self, x=0, y=0) |
|
def | __init__ (self) |
|
def | to_dict (self) |
| Serializes into a JSON object fit for the Lottie format. More...
|
|
def | load (cls, lottiedict) |
| Loads from a JSON object. More...
|
|
def | find (self, search, propname="name") |
| Recursively searches for child objects with a matching property. More...
|
|
def | find_all (self, type, predicate=None, include_self=True) |
| Find all child objects that match a predicate. More...
|
|
def | clone (self) |
| Returns a copy of the object. More...
|
|
def | clone_into (self, other) |
|
def | __str__ (self) |
|
def | __new__ (cls, name, bases, attr) |
|
Bezier handle for keyframe interpolation.
- Lottie JSON
Lottie name | Type | Description | Attribute |
x | float or list of float | x position of the handle. | x |
y | float or list of float | y position of the handle. | y |
Definition at line 6 of file easing.py.
◆ __init__()
def lottie.objects.easing.KeyframeBezierHandle.__init__ |
( |
|
self, |
|
|
|
x = 0 , |
|
|
|
y = 0 |
|
) |
| |
lottie.objects.easing.KeyframeBezierHandle.x |
x position of the handle.
This represents the change in time of the keyframe
Definition at line 18 of file easing.py.
lottie.objects.easing.KeyframeBezierHandle.y |
y position of the handle.
This represents the change in value of the keyframe
Definition at line 21 of file easing.py.
The documentation for this class was generated from the following file: