python-lottie
0.6.11+devc144cca
A framework to work with lottie files and telegram animated stickers (tgs)
|
Motion blur settings. More...
Public Member Functions | |
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) |
Public Attributes | |
shutter_angle | |
Angle in degrees. More... | |
shutter_phase | |
Angle in degrees. More... | |
samples_per_frame | |
adaptive_sample_limit | |
Motion blur settings.
Lottie name | Type | Description | Attribute |
---|---|---|---|
sa | float | Angle in degrees. | shutter_angle |
sp | float | Angle in degrees. | shutter_phase |
spf | float | samples_per_frame | |
asl | float | adaptive_sample_limit |
Definition at line 39 of file animation.py.
def lottie.objects.animation.MotionBlur.__init__ | ( | self | ) |
Reimplemented from lottie.objects.base.LottieObject.
Definition at line 50 of file animation.py.
lottie.objects.animation.MotionBlur.adaptive_sample_limit |
Definition at line 58 of file animation.py.
lottie.objects.animation.MotionBlur.samples_per_frame |
Definition at line 57 of file animation.py.
lottie.objects.animation.MotionBlur.shutter_angle |
Angle in degrees.
Definition at line 54 of file animation.py.
lottie.objects.animation.MotionBlur.shutter_phase |
Angle in degrees.
Definition at line 56 of file animation.py.