python-lottie
0.7.0+dev351ce82
A framework to work with lottie files and telegram animated stickers (tgs)
|
Public Member Functions | |
def | __init__ (self, topleft, bottomright) |
def | time_start (self) |
def | add_reset_keyframe (self, time) |
def | add_keyframe (self, time, tl, tr, br, bl) |
def | n_frames (self) |
def | frame_time (self, f) |
![]() | |
def | __init__ (self, time_start, time_end, n_frames) |
def | animate_point (self, prop) |
def | animate_bezier (self, prop) |
Public Attributes | |
topleft | |
size | |
keyframes | |
![]() | |
time_start | |
When the animation shall start. More... | |
time_end | |
When the animation shall end. More... | |
n_frames | |
Number of frames in the animation. More... | |
time_delta | |
Length of a frame. More... | |
Definition at line 442 of file animation.py.
def lottie.utils.animation.EnvelopeDeformation.__init__ | ( | self, | |
topleft, | |||
bottomright | |||
) |
Definition at line 443 of file animation.py.
def lottie.utils.animation.EnvelopeDeformation.add_keyframe | ( | self, | |
time, | |||
tl, | |||
tr, | |||
br, | |||
bl | |||
) |
Definition at line 461 of file animation.py.
def lottie.utils.animation.EnvelopeDeformation.add_reset_keyframe | ( | self, | |
time | |||
) |
Definition at line 452 of file animation.py.
def lottie.utils.animation.EnvelopeDeformation.frame_time | ( | self, | |
f | |||
) |
Reimplemented from lottie.utils.animation.PointDisplacer.
Definition at line 486 of file animation.py.
def lottie.utils.animation.EnvelopeDeformation.n_frames | ( | self | ) |
Definition at line 483 of file animation.py.
def lottie.utils.animation.EnvelopeDeformation.time_start | ( | self | ) |
Definition at line 449 of file animation.py.
lottie.utils.animation.EnvelopeDeformation.keyframes |
Definition at line 446 of file animation.py.
lottie.utils.animation.EnvelopeDeformation.size |
Definition at line 445 of file animation.py.
lottie.utils.animation.EnvelopeDeformation.topleft |
Definition at line 444 of file animation.py.