python-lottie  0.6.11+deved4e6c7
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.utils.font._SystemFontList Class Reference

Public Member Functions

def __init__ (self)
 
def load (self)
 
def cmd (self, *a)
 
def load_fc_list (self)
 
def best (self, query)
 Returns the renderer best matching the name. More...
 
def all (self, query)
 Yields all the renderers matching a query. More...
 
def default (self)
 Returns the default fornt renderer. More...
 
def __getitem__ (self, key)
 
def __iter__ (self)
 
def keys (self)
 
def __contains__ (self, item)
 

Public Attributes

 fonts
 

Detailed Description

Definition at line 199 of file font.py.

Constructor & Destructor Documentation

◆ __init__()

def lottie.utils.font._SystemFontList.__init__ (   self)

Definition at line 200 of file font.py.

Member Function Documentation

◆ __contains__()

def lottie.utils.font._SystemFontList.__contains__ (   self,
  item 
)

Definition at line 276 of file font.py.

◆ __getitem__()

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

Definition at line 264 of file font.py.

◆ __iter__()

def lottie.utils.font._SystemFontList.__iter__ (   self)

Definition at line 268 of file font.py.

◆ all()

def lottie.utils.font._SystemFontList.all (   self,
  query 
)

Yields all the renderers matching a query.

Definition at line 238 of file font.py.

◆ best()

def lottie.utils.font._SystemFontList.best (   self,
  query 
)

Returns the renderer best matching the name.

Definition at line 224 of file font.py.

◆ cmd()

def lottie.utils.font._SystemFontList.cmd (   self,
a 
)

Definition at line 211 of file font.py.

◆ default()

def lottie.utils.font._SystemFontList.default (   self)

Returns the default fornt renderer.

Definition at line 250 of file font.py.

◆ keys()

def lottie.utils.font._SystemFontList.keys (   self)

Definition at line 272 of file font.py.

◆ load()

def lottie.utils.font._SystemFontList.load (   self)

Definition at line 207 of file font.py.

◆ load_fc_list()

def lottie.utils.font._SystemFontList.load_fc_list (   self)

Definition at line 217 of file font.py.

Member Data Documentation

◆ fonts

lottie.utils.font._SystemFontList.fonts

Definition at line 201 of file font.py.


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