python-lottie  0.7.0+dev66cafb9
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.objects.assets.Sound Class Reference

External sound. More...

Inheritance diagram for lottie.objects.assets.Sound:
[legend]
Collaboration diagram for lottie.objects.assets.Sound:
[legend]

Additional Inherited Members

- Public Member Functions inherited from lottie.objects.assets.FileAsset
def __init__ (self)
 
def data (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 inherited from lottie.objects.assets.FileAsset
 path
 Path to the directory containing a file. More...
 
 file_name
 Filename or data url. More...
 
 is_embedded
 Whether the file is embedded. More...
 
 id
 
- Public Attributes inherited from lottie.objects.helpers.VisualObject
 name
 
 match_name
 

Detailed Description

External sound.

Lottie JSON
Lottie name Type Description Attribute
nm str   name
mn str   match_name
id str   id
u str Path to the directory containing a file.   path
p str Filename or data url.   file_name
e 0-1 int Whether the file is embedded.   is_embedded

Definition at line 205 of file assets.py.


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