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

Value for an effect. More...

Inheritance diagram for lottie.objects.effects.EffectValue:
[legend]
Collaboration diagram for lottie.objects.effects.EffectValue:
[legend]

Public Member Functions

def __init__ (self)
 
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

 effect_index
 Effect Index. More...
 
 name
 After Effect's Name. More...
 

Static Public Attributes

 type = None
 Effect value type. More...
 

Detailed Description

Value for an effect.

Lottie JSON
Lottie name Type Description Attribute
ix int Effect Index.   effect_index
nm str After Effect's Name.   name
ty int Effect value type.   type

Definition at line 9 of file effects.py.

Constructor & Destructor Documentation

◆ __init__()

def lottie.objects.effects.EffectValue.__init__ (   self)

Reimplemented in lottie.objects.effects.EffectValueLayer.

Definition at line 24 of file effects.py.

Member Function Documentation

◆ __str__()

def lottie.objects.effects.EffectValue.__str__ (   self)

Reimplemented from lottie.objects.base.LottieObject.

Definition at line 44 of file effects.py.

Member Data Documentation

◆ effect_index

lottie.objects.effects.EffectValue.effect_index

Effect Index.

Used for expressions.

Definition at line 26 of file effects.py.

◆ name

lottie.objects.effects.EffectValue.name

After Effect's Name.

Used for expressions.

Definition at line 28 of file effects.py.

◆ type

lottie.objects.effects.EffectValue.type = None
static

Effect value type.

Definition at line 14 of file effects.py.


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