python-lottie  0.7.0+dev66cafb9
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.objects.styles.ColorOverlayStyle Class Reference
Inheritance diagram for lottie.objects.styles.ColorOverlayStyle:
[legend]
Collaboration diagram for lottie.objects.styles.ColorOverlayStyle:
[legend]

Public Member Functions

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)
 
def __str__ (self)
 
- Public Member Functions inherited from lottie.objects.base.LottieObjectMeta
def __new__ (cls, name, bases, attr)
 

Public Attributes

 blend_mode
 
 color
 
 opacity
 
- Public Attributes inherited from lottie.objects.helpers.VisualObject
 name
 
 match_name
 

Static Public Attributes

int type = 7
 
- Static Public Attributes inherited from lottie.objects.styles.LayerStyle
 type = None
 

Detailed Description

Lottie JSON
Lottie name Type Description Attribute
nm str   name
mn str   match_name
ty int = 7   type
ty int = 7   type
bm Value   blend_mode
c ColorValue   color
so Value   opacity

Definition at line 77 of file styles.py.

Constructor & Destructor Documentation

◆ __init__()

def lottie.objects.styles.ColorOverlayStyle.__init__ (   self)

Reimplemented from lottie.objects.helpers.VisualObject.

Definition at line 86 of file styles.py.

Member Data Documentation

◆ blend_mode

lottie.objects.styles.ColorOverlayStyle.blend_mode

Definition at line 89 of file styles.py.

◆ color

lottie.objects.styles.ColorOverlayStyle.color

Definition at line 90 of file styles.py.

◆ opacity

lottie.objects.styles.ColorOverlayStyle.opacity

Definition at line 91 of file styles.py.

◆ type

int lottie.objects.styles.ColorOverlayStyle.type = 7
static

Definition at line 78 of file styles.py.


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