python-lottie  0.7.0+dev351ce82
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.utils.animation.EnvelopeDeformation Class Reference
Inheritance diagram for lottie.utils.animation.EnvelopeDeformation:
[legend]
Collaboration diagram for lottie.utils.animation.EnvelopeDeformation:
[legend]

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)
 
- Public Member Functions inherited from lottie.utils.animation.PointDisplacer
def __init__ (self, time_start, time_end, n_frames)
 
def animate_point (self, prop)
 
def animate_bezier (self, prop)
 

Public Attributes

 topleft
 
 size
 
 keyframes
 
- Public Attributes inherited from lottie.utils.animation.PointDisplacer
 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...
 

Detailed Description

Definition at line 442 of file animation.py.

Constructor & Destructor Documentation

◆ __init__()

def lottie.utils.animation.EnvelopeDeformation.__init__ (   self,
  topleft,
  bottomright 
)

Definition at line 443 of file animation.py.

Member Function Documentation

◆ add_keyframe()

def lottie.utils.animation.EnvelopeDeformation.add_keyframe (   self,
  time,
  tl,
  tr,
  br,
  bl 
)

Definition at line 461 of file animation.py.

◆ add_reset_keyframe()

def lottie.utils.animation.EnvelopeDeformation.add_reset_keyframe (   self,
  time 
)

Definition at line 452 of file animation.py.

◆ frame_time()

def lottie.utils.animation.EnvelopeDeformation.frame_time (   self,
  f 
)

Reimplemented from lottie.utils.animation.PointDisplacer.

Definition at line 486 of file animation.py.

◆ n_frames()

def lottie.utils.animation.EnvelopeDeformation.n_frames (   self)

Definition at line 483 of file animation.py.

◆ time_start()

def lottie.utils.animation.EnvelopeDeformation.time_start (   self)

Definition at line 449 of file animation.py.

Member Data Documentation

◆ keyframes

lottie.utils.animation.EnvelopeDeformation.keyframes

Definition at line 446 of file animation.py.

◆ size

lottie.utils.animation.EnvelopeDeformation.size

Definition at line 445 of file animation.py.

◆ topleft

lottie.utils.animation.EnvelopeDeformation.topleft

Definition at line 444 of file animation.py.


The documentation for this class was generated from the following file: