python-lottie
0.7.0+dev66cafb9
A framework to work with lottie files and telegram animated stickers (tgs)
|
External data source, usually a JSON file. More...
Static Public Attributes | |
int | type = 3 |
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 | |
External data source, usually a JSON file.
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 |
t | int = 3 | type |