python-lottie  0.6.11+devcecd248
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:
[legend]
Collaboration diagram for lottie.utils.font.RawFontRenderer:
[legend]

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

 filename
 

Additional Inherited Members

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

Detailed Description

Definition at line 564 of file font.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 565 of file font.py.

Member Function Documentation

◆ __repr__()

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

Definition at line 579 of file font.py.

◆ font()

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

Reimplemented from lottie.utils.font.FontRenderer.

Definition at line 571 of file font.py.

◆ get_query()

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

Reimplemented from lottie.utils.font.FontRenderer.

Definition at line 582 of file font.py.

◆ kerning()

def lottie.utils.font.RawFontRenderer.kerning (   self,
  c1,
  c2 
)

Reimplemented from lottie.utils.font.FontRenderer.

Definition at line 574 of file font.py.

Member Data Documentation

◆ filename

lottie.utils.font.RawFontRenderer.filename

Definition at line 566 of file font.py.


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