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

Public Member Functions

def __init__ (self, center, time_start, time_end, n_frames, axis, depth=0, angle=360, anglestart=0, ease=easing.Linear())
 
def angle (self)
 
def angle (self, value)
 
- 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)
 
def frame_time (self, f)
 

Public Attributes

 rotation
 
 axis
 
 depth
 
 anglestart
 
 ease
 
- 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...
 

Static Public Attributes

 axis_x = DepthRotation.axis_x
 
 axis_y = DepthRotation.axis_y
 
 axis_z = DepthRotation.axis_z
 

Detailed Description

Definition at line 408 of file animation.py.

Constructor & Destructor Documentation

◆ __init__()

def lottie.utils.animation.DepthRotationDisplacer.__init__ (   self,
  center,
  time_start,
  time_end,
  n_frames,
  axis,
  depth = 0,
  angle = 360,
  anglestart = 0,
  ease = easing.Linear() 
)

Definition at line 413 of file animation.py.

Member Function Documentation

◆ angle() [1/2]

def lottie.utils.animation.DepthRotationDisplacer.angle (   self)

Definition at line 427 of file animation.py.

◆ angle() [2/2]

def lottie.utils.animation.DepthRotationDisplacer.angle (   self,
  value 
)

Definition at line 431 of file animation.py.

Member Data Documentation

◆ anglestart

lottie.utils.animation.DepthRotationDisplacer.anglestart

Definition at line 422 of file animation.py.

◆ axis

lottie.utils.animation.DepthRotationDisplacer.axis

Definition at line 419 of file animation.py.

◆ axis_x

lottie.utils.animation.DepthRotationDisplacer.axis_x = DepthRotation.axis_x
static

Definition at line 409 of file animation.py.

◆ axis_y

lottie.utils.animation.DepthRotationDisplacer.axis_y = DepthRotation.axis_y
static

Definition at line 410 of file animation.py.

◆ axis_z

lottie.utils.animation.DepthRotationDisplacer.axis_z = DepthRotation.axis_z
static

Definition at line 411 of file animation.py.

◆ depth

lottie.utils.animation.DepthRotationDisplacer.depth

Definition at line 420 of file animation.py.

◆ ease

lottie.utils.animation.DepthRotationDisplacer.ease

Definition at line 423 of file animation.py.

◆ rotation

lottie.utils.animation.DepthRotationDisplacer.rotation

Definition at line 416 of file animation.py.


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