python-lottie  0.7.0+dev66cafb9
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.utils.font.Font Class Reference

Public Member Functions

def __init__ (self, wrapped)
 
def open (cls, filename)
 
def getGlyphSet (self)
 
def getBestCmap (self)
 
def glyph_name (self, codepoint)
 
def scale (self)
 
def yMax (self)
 
def glyph (self, glyph_name)
 
def __contains__ (self, key)
 
def __getitem__ (self, key)
 

Static Public Member Functions

def calculated_glyph_name (codepoint)
 

Public Attributes

 wrapped
 
 cmap
 
 glyphset
 

Detailed Description

Definition at line 349 of file font.py.

Constructor & Destructor Documentation

◆ __init__()

def lottie.utils.font.Font.__init__ (   self,
  wrapped 
)

Definition at line 350 of file font.py.

Member Function Documentation

◆ __contains__()

def lottie.utils.font.Font.__contains__ (   self,
  key 
)

Definition at line 426 of file font.py.

◆ __getitem__()

def lottie.utils.font.Font.__getitem__ (   self,
  key 
)

Definition at line 431 of file font.py.

◆ calculated_glyph_name()

def lottie.utils.font.Font.calculated_glyph_name (   codepoint)
static

Definition at line 387 of file font.py.

◆ getBestCmap()

def lottie.utils.font.Font.getBestCmap (   self)

Definition at line 372 of file font.py.

◆ getGlyphSet()

def lottie.utils.font.Font.getGlyphSet (   self)

Definition at line 369 of file font.py.

◆ glyph()

def lottie.utils.font.Font.glyph (   self,
  glyph_name 
)

Definition at line 408 of file font.py.

◆ glyph_name()

def lottie.utils.font.Font.glyph_name (   self,
  codepoint 
)

Definition at line 375 of file font.py.

◆ open()

def lottie.utils.font.Font.open (   cls,
  filename 
)

Definition at line 360 of file font.py.

◆ scale()

def lottie.utils.font.Font.scale (   self)

Definition at line 396 of file font.py.

◆ yMax()

def lottie.utils.font.Font.yMax (   self)

Definition at line 402 of file font.py.

Member Data Documentation

◆ cmap

lottie.utils.font.Font.cmap

Definition at line 353 of file font.py.

◆ glyphset

lottie.utils.font.Font.glyphset

Definition at line 357 of file font.py.

◆ wrapped

lottie.utils.font.Font.wrapped

Definition at line 351 of file font.py.


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