python-lottie  0.6.11+deved4e6c7
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.objects.effects.ProLevelsEffect Class Reference
Inheritance diagram for lottie.objects.effects.ProLevelsEffect:
Collaboration diagram for lottie.objects.effects.ProLevelsEffect:

Static Public Attributes

int type = 24
 Effect type. More...
- Static Public Attributes inherited from lottie.objects.effects.Effect
 type = None
 Effect type. More...

Additional Inherited Members

- Public Member Functions inherited from lottie.objects.effects.Effect
def __init__ (self, *args, **kwargs)
def __getattr__ (self, key)
def __str__ (self)
- Public Member Functions inherited from lottie.objects.helpers.VisualObject
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)
- Public Member Functions inherited from lottie.objects.base.LottieObjectMeta
def __new__ (cls, name, bases, attr)
- Public Attributes inherited from lottie.objects.effects.Effect
 Effect Index. More...
 Effect parameters. More...
 Whether the effect is enabled. More...
- Public Attributes inherited from lottie.objects.helpers.VisualObject

Detailed Description

Lottie JSON
Lottie name Type Description Attribute
nm str   name
mn str   match_name
ix int Effect Index.   effect_index
ty int = 24 Effect type.   type
ef list of EffectValue Effect parameters. [00, 01, 02, comp_inblack, comp_inwhite, comp_gamma, comp_outblack, comp_outwhite, 08, 09, r_inblack, r_inwhite, r_gamma, r_outblack, r_outwhite, 15, 16, g_inblack, g_inwhite, g_gamma, g_outblack, g_outwhite, 22, 23, b_inblack, b_inwhite, b_gamma, b_outblack, b_outwhite, 29, a_inblack, a_inwhite, a_gamma, a_outblack, a_outwhite]   effects
en bool Whether the effect is enabled.   enabled

Definition at line 292 of file

Member Data Documentation

◆ type

int lottie.objects.effects.ProLevelsEffect.type = 24

Effect type.

Definition at line 331 of file

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