python-lottie  0.6.11+deved4e6c7
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.utils.font.RawFontRenderer Class Reference
Inheritance diagram for lottie.utils.font.RawFontRenderer:
Collaboration diagram for lottie.utils.font.RawFontRenderer:

Public Member Functions

def __init__ (self, filename)
def font (self)
def kerning (self, c1, c2)
def __repr__ (self)
def get_query (self)
- Public Member Functions inherited from lottie.utils.font.FontRenderer
def text_to_chars (self, text)
def glyph_name (self, ch)
def scale (self, size)
def line_height (self, size)
def ex (self, size)
def glyph_beziers (self, glyph, offset=NVector(0, 0))
def glyph_shapes (self, glyph, offset=NVector(0, 0))
def render (self, text, size, pos=None, use_kerning=True, start_x=None)
 Renders some text. More...

Public Attributes


Additional Inherited Members

- Static Public Attributes inherited from lottie.utils.font.FontRenderer
int tab_width = 4

Detailed Description

Definition at line 564 of file

Constructor & Destructor Documentation

◆ __init__()

def lottie.utils.font.RawFontRenderer.__init__ (   self,

Definition at line 565 of file

Member Function Documentation

◆ __repr__()

def lottie.utils.font.RawFontRenderer.__repr__ (   self)

Definition at line 579 of file

◆ font()

def lottie.utils.font.RawFontRenderer.font (   self)

Reimplemented from lottie.utils.font.FontRenderer.

Definition at line 571 of file

◆ get_query()

def lottie.utils.font.RawFontRenderer.get_query (   self)

Reimplemented from lottie.utils.font.FontRenderer.

Definition at line 582 of file

◆ kerning()

def lottie.utils.font.RawFontRenderer.kerning (   self,

Reimplemented from lottie.utils.font.FontRenderer.

Definition at line 574 of file

Member Data Documentation

◆ filename


Definition at line 566 of file

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