python-lottie  0.7.0+dev66cafb9
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 __init__ (self)
 
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 clone_into (self, other)
 
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 194 of file text.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 200 of file text.py.

Member Data Documentation

◆ start

lottie.objects.text.TextDataKeyframe.start

Start value of keyframe segment.

Definition at line 202 of file text.py.

◆ time

lottie.objects.text.TextDataKeyframe.time

Start time of keyframe segment.

Definition at line 204 of file text.py.


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