python-lottie  0.6.8+dev6bb61be
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.objects.effects.ChangeToColorEffect Class Reference

Change to color. More...

Inheritance diagram for lottie.objects.effects.ChangeToColorEffect:
Collaboration diagram for lottie.objects.effects.ChangeToColorEffect:

Static Public Attributes

int type = 5
 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.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...
- 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...
 After Effect's Name. More...
 Effect parameters. More...

Detailed Description

Change to color.

Lottie JSON
Lottie name Type Description Attribute
ix int Effect Index.   effect_index
nm str After Effect's Name.   name
ty int = 5 Effect type.   type
ef list of EffectValue Effect parameters. [from_color, to_color, change, change_by, tolerance, hue, lightness, saturation, saturation_, softness, view_correction]   effects

Definition at line 423 of file

Member Data Documentation

◆ type

int lottie.objects.effects.ChangeToColorEffect.type = 5

Effect type.

Definition at line 441 of file

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