|
def | __init__ (self, *args, **kwargs) |
|
def | __getattr__ (self, key) |
|
def | __str__ (self) |
|
def | __init__ (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) |
|
| effect_index |
| Effect Index. More...
|
|
| effects |
| Effect parameters. More...
|
|
| enabled |
| Whether the effect is enabled. More...
|
|
| name |
|
| match_name |
|
- Lottie JSON
Lottie name | Type | Description | Attribute |
nm | str | | name |
mn | str | | match_name |
ix | int | Effect Index. | effect_index |
ty | int = 22 | Effect type. | type |
ef | list of EffectValue | Effect parameters. [00, 01, 02, color, 04, 05, 06, 07, 08, 09, type] | effects |
en | bool | Whether the effect is enabled. | enabled |
Definition at line 243 of file effects.py.
◆ type
int lottie.objects.effects.StrokeEffect.type = 22 |
|
static |
The documentation for this class was generated from the following file: