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

Public Member Functions

def __init__ (self, glyph, lsb, aw, xmin, xmax)
 
def draw (self, pen)
 

Public Attributes

 glyph
 
 lsb
 
 advance
 
 xmin
 
 xmax
 
 width
 

Detailed Description

Definition at line 335 of file font.py.

Constructor & Destructor Documentation

◆ __init__()

def lottie.utils.font.GlyphMetrics.__init__ (   self,
  glyph,
  lsb,
  aw,
  xmin,
  xmax 
)

Definition at line 336 of file font.py.

Member Function Documentation

◆ draw()

def lottie.utils.font.GlyphMetrics.draw (   self,
  pen 
)

Definition at line 345 of file font.py.

Member Data Documentation

◆ advance

lottie.utils.font.GlyphMetrics.advance

Definition at line 339 of file font.py.

◆ glyph

lottie.utils.font.GlyphMetrics.glyph

Definition at line 337 of file font.py.

◆ lsb

lottie.utils.font.GlyphMetrics.lsb

Definition at line 338 of file font.py.

◆ width

lottie.utils.font.GlyphMetrics.width

Definition at line 342 of file font.py.

◆ xmax

lottie.utils.font.GlyphMetrics.xmax

Definition at line 341 of file font.py.

◆ xmin

lottie.utils.font.GlyphMetrics.xmin

Definition at line 340 of file font.py.


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