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

Public Member Functions

def __init__ (self, FontStyle font, NVector default_color, float font_size)
 
def render (self, str text, NVector pos=None)
 

Public Attributes

 font
 
 font_size
 
 default_color
 
 groups
 

Detailed Description

Definition at line 35 of file fancy_text.py.

Constructor & Destructor Documentation

◆ __init__()

def lottie.utils.fancy_text.FancyTextRenderer.__init__ (   self,
FontStyle  font,
NVector  default_color,
float  font_size 
)

Definition at line 38 of file fancy_text.py.

Member Function Documentation

◆ render()

def lottie.utils.fancy_text.FancyTextRenderer.render (   self,
str  text,
NVector   pos = None 
)

Definition at line 51 of file fancy_text.py.

Member Data Documentation

◆ default_color

lottie.utils.fancy_text.FancyTextRenderer.default_color

Definition at line 41 of file fancy_text.py.

◆ font

lottie.utils.fancy_text.FancyTextRenderer.font

Definition at line 39 of file fancy_text.py.

◆ font_size

lottie.utils.fancy_text.FancyTextRenderer.font_size

Definition at line 40 of file fancy_text.py.

◆ groups

lottie.utils.fancy_text.FancyTextRenderer.groups

Definition at line 42 of file fancy_text.py.


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