python-lottie  0.6.11+deva0e77a1
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 753 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 754 of file

Member Function Documentation

◆ clone()

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

Definition at line 794 of file

◆ ex()

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

Definition at line 798 of file

◆ line_height()

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

Definition at line 802 of file

◆ query() [1/2]

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

Definition at line 772 of file

◆ query() [2/2]

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

Definition at line 776 of file

◆ render()

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

Definition at line 784 of file

◆ renderer()

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

Definition at line 781 of file

Member Data Documentation

◆ emoji_svg


Definition at line 755 of file

◆ justify


Definition at line 758 of file

◆ position


Definition at line 759 of file

◆ size


Definition at line 757 of file

◆ use_kerning


Definition at line 760 of file

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