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

Public Member Functions

def __init__ (self, wrapped, emoji_dir)
 
def font (self)
 
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

 wrapped
 
 emoji_dir
 

Additional Inherited Members

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

Detailed Description

Definition at line 653 of file font.py.

Constructor & Destructor Documentation

◆ __init__()

def lottie.utils.font.EmojiRenderer.__init__ (   self,
  wrapped,
  emoji_dir 
)

Definition at line 656 of file font.py.

Member Function Documentation

◆ emoji_split()

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

Definition at line 740 of file font.py.

◆ font()

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

Reimplemented from lottie.utils.font.FontRenderer.

Definition at line 664 of file font.py.

◆ get_query()

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

Reimplemented from lottie.utils.font.FontRenderer.

Definition at line 725 of file font.py.

◆ text_to_chars()

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

Reimplemented from lottie.utils.font.FontRenderer.

Definition at line 743 of file font.py.

Member Data Documentation

◆ emoji_dir

lottie.utils.font.EmojiRenderer.emoji_dir

Definition at line 660 of file font.py.

◆ wrapped

lottie.utils.font.EmojiRenderer.wrapped

Definition at line 659 of file font.py.


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