python-lottie  0.6.11+deved4e6c7
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.utils.font.FontShape Class Reference
Inheritance diagram for lottie.utils.font.FontShape:
Collaboration diagram for lottie.utils.font.FontShape:

Public Member Functions

def __init__ (self, text="", query="", size=64, justify=TextJustify.Left)
def query_string (self)
def query_string (self, v)
def bounding_box (self, time=0)
- Public Member Functions inherited from lottie.objects.base.CustomObject
def __init__ (self)
def load (cls, lottiedict)
 Loads from a JSON object. More...
def clone (self)
 Returns a copy of the object. More...
def to_dict (self)
 Serializes into a JSON object fit for the Lottie format. More...
def refresh (self)
- Public Member Functions inherited from lottie.objects.base.LottieObject
def find (self, search, propname="name")
 Recursively searches for child objects with a matching property. More...
def find_all (self, type, predicate=None, include_self=True)
 Find all child objects that match a predicate. More...
def clone_into (self, other)
def __str__ (self)
- Public Member Functions inherited from lottie.objects.base.LottieObjectMeta
def __new__ (cls, name, bases, attr)

Public Attributes

- Public Attributes inherited from lottie.objects.base.CustomObject

Static Public Attributes

 wrapped_lottie = Group
 query = _propfac("query")
 size = _propfac("size")
 justify = _propfac("justify")
 position = _propfac("position")
- Static Public Attributes inherited from lottie.objects.base.CustomObject
 wrapped_lottie = LottieObject

Detailed Description

Definition at line 810 of file

Constructor & Destructor Documentation

◆ __init__()

def lottie.utils.font.FontShape.__init__ (   self,
  text = "",
  query = "",
  size = 64,
  justify = TextJustify.Left 

Definition at line 820 of file

Member Function Documentation

◆ bounding_box()

def lottie.utils.font.FontShape.bounding_box (   self,
  time = 0 

Definition at line 853 of file

◆ query_string() [1/2]

def lottie.utils.font.FontShape.query_string (   self)

Definition at line 841 of file

◆ query_string() [2/2]

def lottie.utils.font.FontShape.query_string (   self,

Definition at line 845 of file

Member Data Documentation

◆ hidden


Definition at line 827 of file

◆ justify

lottie.utils.font.FontShape.justify = _propfac("justify")

Definition at line 837 of file

◆ line_height


Definition at line 850 of file

◆ position

lottie.utils.font.FontShape.position = _propfac("position")

Definition at line 838 of file

◆ query

lottie.utils.font.FontShape.query = _propfac("query")

Definition at line 835 of file

◆ size

lottie.utils.font.FontShape.size = _propfac("size")

Definition at line 836 of file

◆ style

Definition at line 823 of file

◆ text


Definition at line 826 of file

◆ wrapped_lottie

lottie.utils.font.FontShape.wrapped_lottie = Group

Definition at line 818 of file

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