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

Public Member Functions

def __init__ (self)
 
def add_keyframe (self, time, item)
 
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

 properties
 
 data
 
 more_options
 
 masked_path
 

Detailed Description

Lottie JSON
Lottie name Type Description Attribute
a list of TextAnimatorDataProperty   properties
d TextData   data
m TextMoreOptions   more_options
p MaskedPath   masked_path

Definition at line 150 of file text.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 158 of file text.py.

Member Function Documentation

◆ add_keyframe()

def lottie.objects.text.TextAnimatorData.add_keyframe (   self,
  time,
  item 
)

Definition at line 164 of file text.py.

◆ get_value()

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

Definition at line 167 of file text.py.

Member Data Documentation

◆ data

lottie.objects.text.TextAnimatorData.data

Definition at line 160 of file text.py.

◆ masked_path

lottie.objects.text.TextAnimatorData.masked_path

Definition at line 162 of file text.py.

◆ more_options

lottie.objects.text.TextAnimatorData.more_options

Definition at line 161 of file text.py.

◆ properties

lottie.objects.text.TextAnimatorData.properties

Definition at line 159 of file text.py.


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