python-lottie  0.6.11+devcecd248
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.utils.fancy_text.FancyStyle Class Reference

Public Member Functions

def __init__ (self, FontStyle font, NVector color, float font_size, NVector offset, NVector scale, float rotation)
 
def clone (self)
 
def render (self, text, pos, start_x)
 

Public Attributes

 font
 
 color
 
 font_size
 
 offset
 
 scale
 
 rotation
 

Detailed Description

Definition at line 9 of file fancy_text.py.

Constructor & Destructor Documentation

◆ __init__()

def lottie.utils.fancy_text.FancyStyle.__init__ (   self,
FontStyle  font,
NVector  color,
float  font_size,
NVector  offset,
NVector  scale,
float  rotation 
)

Definition at line 10 of file fancy_text.py.

Member Function Documentation

◆ clone()

def lottie.utils.fancy_text.FancyStyle.clone (   self)

Definition at line 18 of file fancy_text.py.

◆ render()

def lottie.utils.fancy_text.FancyStyle.render (   self,
  text,
  pos,
  start_x 
)

Definition at line 21 of file fancy_text.py.

Member Data Documentation

◆ color

lottie.utils.fancy_text.FancyStyle.color

Definition at line 12 of file fancy_text.py.

◆ font

lottie.utils.fancy_text.FancyStyle.font

Definition at line 11 of file fancy_text.py.

◆ font_size

lottie.utils.fancy_text.FancyStyle.font_size

Definition at line 13 of file fancy_text.py.

◆ offset

lottie.utils.fancy_text.FancyStyle.offset

Definition at line 14 of file fancy_text.py.

◆ rotation

lottie.utils.fancy_text.FancyStyle.rotation

Definition at line 16 of file fancy_text.py.

◆ scale

lottie.utils.fancy_text.FancyStyle.scale

Definition at line 15 of file fancy_text.py.


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