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

Public Member Functions

def __init__ (self, time=0, start=None)
 
- 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

 start
 Start value of keyframe segment. More...
 
 time
 Start time of keyframe segment. More...
 

Detailed Description

Lottie JSON
Lottie name Type Description Attribute
s TextDocument Start value of keyframe segment.   start
t float Start time of keyframe segment.   time

Definition at line 120 of file text.py.

Constructor & Destructor Documentation

◆ __init__()

def lottie.objects.text.TextDataKeyframe.__init__ (   self,
  time = 0,
  start = None 
)

Definition at line 126 of file text.py.

Member Data Documentation

◆ start

lottie.objects.text.TextDataKeyframe.start

Start value of keyframe segment.

Definition at line 128 of file text.py.

◆ time

lottie.objects.text.TextDataKeyframe.time

Start time of keyframe segment.

Definition at line 130 of file text.py.


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