python-lottie  0.6.11+devc144cca
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.objects.helpers.Marker Class Reference

Defines named portions of the composition. More...

Inheritance diagram for lottie.objects.helpers.Marker:
[legend]
Collaboration diagram for lottie.objects.helpers.Marker:
[legend]

Public Member Functions

def __init__ (self)
 
- 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 clone_into (self, other)
 
def __str__ (self)
 
- Public Member Functions inherited from lottie.objects.base.LottieObjectMeta
def __new__ (cls, name, bases, attr)
 

Public Attributes

 comment
 
 time
 
 duration
 

Detailed Description

Defines named portions of the composition.

Lottie JSON
Lottie name Type Description Attribute
cm str   comment
tm float   time
dr float   duration

Definition at line 162 of file helpers.py.

Constructor & Destructor Documentation

◆ __init__()

def lottie.objects.helpers.Marker.__init__ (   self)

Reimplemented from lottie.objects.base.LottieObject.

Definition at line 172 of file helpers.py.

Member Data Documentation

◆ comment

lottie.objects.helpers.Marker.comment

Definition at line 175 of file helpers.py.

◆ duration

lottie.objects.helpers.Marker.duration

Definition at line 177 of file helpers.py.

◆ time

lottie.objects.helpers.Marker.time

Definition at line 176 of file helpers.py.


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