python-lottie  0.6.11+devcecd248
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.objects.animation.Metadata Class Reference

Document metadata. More...

Inheritance diagram for lottie.objects.animation.Metadata:
[legend]
Collaboration diagram for lottie.objects.animation.Metadata:
[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

 generator
 
 author
 
 keywords
 
 description
 
 theme_color
 

Detailed Description

Document metadata.

Lottie JSON
Lottie name Type Description Attribute
a str   author
g str   generator
k list of str   keywords
d str   description
tc str   theme_color

Definition at line 18 of file animation.py.

Constructor & Destructor Documentation

◆ __init__()

def lottie.objects.animation.Metadata.__init__ (   self)

Reimplemented from lottie.objects.base.LottieObject.

Definition at line 30 of file animation.py.

Member Data Documentation

◆ author

lottie.objects.animation.Metadata.author

Definition at line 32 of file animation.py.

◆ description

lottie.objects.animation.Metadata.description

Definition at line 34 of file animation.py.

◆ generator

lottie.objects.animation.Metadata.generator

Definition at line 31 of file animation.py.

◆ keywords

lottie.objects.animation.Metadata.keywords

Definition at line 33 of file animation.py.

◆ theme_color

lottie.objects.animation.Metadata.theme_color

Definition at line 35 of file animation.py.


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