python-lottie
0.6.11+deva0e77a1
A framework to work with lottie files and telegram animated stickers (tgs)
|
Value for an effect. More...
Public Member Functions | |
def | __init__ (self) |
def | __str__ (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 | __new__ (cls, name, bases, attr) |
Public Attributes | |
effect_index | |
Effect Index. More... | |
![]() | |
name | |
match_name | |
Static Public Attributes | |
type = None | |
Effect value type. More... | |
Value for an effect.
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ix | int | Effect Index. | effect_index |
ty | int | Effect value type. | type |
Definition at line 9 of file effects.py.
def lottie.objects.effects.EffectValue.__init__ | ( | self | ) |
Reimplemented from lottie.objects.helpers.VisualObject.
Reimplemented in lottie.objects.effects.EffectValueLayer.
Definition at line 22 of file effects.py.
def lottie.objects.effects.EffectValue.__str__ | ( | self | ) |
Reimplemented from lottie.objects.base.LottieObject.
Definition at line 36 of file effects.py.
lottie.objects.effects.EffectValue.effect_index |
|
static |
Effect value type.
Definition at line 14 of file effects.py.