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

Public Member Functions

def __init__ (self, query, size, justify=TextJustify.Left, position=None, use_kerning=True, emoji_svg=None)
def query (self)
def query (self, value)
def renderer (self)
def render (self, text, pos=NVector(0, 0))
def clone (self)
def ex (self)
def line_height (self)

Public Attributes


Detailed Description

Definition at line 747 of file

Constructor & Destructor Documentation

◆ __init__()

def lottie.utils.font.FontStyle.__init__ (   self,
  justify = TextJustify.Left,
  position = None,
  use_kerning = True,
  emoji_svg = None 

Definition at line 748 of file

Member Function Documentation

◆ clone()

def lottie.utils.font.FontStyle.clone (   self)

Definition at line 788 of file

◆ ex()

def lottie.utils.font.FontStyle.ex (   self)

Definition at line 792 of file

◆ line_height()

def lottie.utils.font.FontStyle.line_height (   self)

Definition at line 796 of file

◆ query() [1/2]

def lottie.utils.font.FontStyle.query (   self)

Definition at line 766 of file

◆ query() [2/2]

def lottie.utils.font.FontStyle.query (   self,

Definition at line 770 of file

◆ render()

def lottie.utils.font.FontStyle.render (   self,
  pos = NVector(0, 0) 

Definition at line 778 of file

◆ renderer()

def lottie.utils.font.FontStyle.renderer (   self)

Definition at line 775 of file

Member Data Documentation

◆ emoji_svg


Definition at line 749 of file

◆ justify


Definition at line 752 of file

◆ position


Definition at line 753 of file

◆ size


Definition at line 751 of file

◆ use_kerning


Definition at line 754 of file

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