python-lottie  0.6.8+dev6bb61be
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.objects.text.TextData Class Reference
Inheritance diagram for lottie.objects.text.TextData:
[legend]
Collaboration diagram for lottie.objects.text.TextData:
[legend]

Public Member Functions

def __init__ (self)
 
def get_value (self, time)
 
- Public Member Functions inherited from lottie.objects.base.LottieObject
def to_dict (self)
 Serializes into a JSON object fit for the Lottie format. More...
 
def load (cls, lottiedict)
 Loads from a JSON object. More...
 
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 (self)
 Returns a copy of the object. More...
 
def __str__ (self)
 
- Public Member Functions inherited from lottie.objects.base.LottieObjectMeta
def __new__ (cls, name, bases, attr)
 

Public Attributes

 keyframes
 

Detailed Description

Lottie JSON
Lottie name Type Description Attribute
k list of TextDataKeyframe   keyframes

Definition at line 134 of file text.py.

Constructor & Destructor Documentation

◆ __init__()

def lottie.objects.text.TextData.__init__ (   self)

Definition at line 139 of file text.py.

Member Function Documentation

◆ get_value()

def lottie.objects.text.TextData.get_value (   self,
  time 
)

Definition at line 142 of file text.py.

Member Data Documentation

◆ keyframes

lottie.objects.text.TextData.keyframes

Definition at line 140 of file text.py.


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