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


Detailed Description

Definition at line 35 of file

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

Member Function Documentation

◆ render()

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

Definition at line 51 of file

Member Data Documentation

◆ default_color


Definition at line 41 of file

◆ font


Definition at line 39 of file

◆ font_size


Definition at line 40 of file

◆ groups


Definition at line 42 of file

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