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

Public Member Functions

def __init__ (self, wrapped, emoji_dir)
def font (self)
def emoji_basename (self, char)
def emoji_filename (self, char)
def get_query (self)
def text_to_chars (self, string)
- Public Member Functions inherited from lottie.utils.font.FontRenderer
def kerning (self, c1, c2)
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...

Static Public Member Functions

def emoji_split (string)

Public Attributes


Additional Inherited Members

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

Detailed Description

Definition at line 653 of file

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 656 of file

Member Function Documentation

◆ emoji_basename()

def lottie.utils.font.EmojiRenderer.emoji_basename (   self,

Definition at line 667 of file

◆ emoji_filename()

def lottie.utils.font.EmojiRenderer.emoji_filename (   self,

Definition at line 670 of file

◆ emoji_split()

def lottie.utils.font.EmojiRenderer.emoji_split (   string)

Definition at line 746 of file

◆ font()

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

Reimplemented from lottie.utils.font.FontRenderer.

Definition at line 664 of file

◆ get_query()

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

Reimplemented from lottie.utils.font.FontRenderer.

Definition at line 731 of file

◆ text_to_chars()

def lottie.utils.font.EmojiRenderer.text_to_chars (   self,

Reimplemented from lottie.utils.font.FontRenderer.

Definition at line 749 of file

Member Data Documentation

◆ emoji_dir


Definition at line 660 of file

◆ wrapped


Definition at line 659 of file

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