python-lottie  0.7.0+dev66cafb9
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.objects.helpers.MaskMode Class Reference

How masks interact with each other. More...

Inheritance diagram for lottie.objects.helpers.MaskMode:
[legend]
Collaboration diagram for lottie.objects.helpers.MaskMode:
[legend]

Static Public Attributes

string No = "n"
 
string Add = "a"
 
string Subtract = "s"
 
string Intersect = "i"
 
string Lighten = "l"
 
string Darken = "d"
 
string Difference = "f"
 

Additional Inherited Members

- Public Member Functions inherited from lottie.objects.base.LottieEnum
def to_dict (self)
 Serializes into a JSON object fit for the Lottie format. More...
 
def load (cls, lottieint)
 Loads from a JSON object. More...
 
def clone (self)
 Returns a copy of the object. More...
 
- Public Member Functions inherited from lottie.objects.base.EnumMeta
def __new__ (cls, name, bases, classdict)
 

Detailed Description

How masks interact with each other.

See also
https://helpx.adobe.com/after-effects/using/alpha-channels-masks-mattes.html

Definition at line 82 of file helpers.py.

Member Data Documentation

◆ Add

string lottie.objects.helpers.MaskMode.Add = "a"
static

Definition at line 88 of file helpers.py.

◆ Darken

string lottie.objects.helpers.MaskMode.Darken = "d"
static
Note
Not in lottie web

Definition at line 94 of file helpers.py.

◆ Difference

string lottie.objects.helpers.MaskMode.Difference = "f"
static
Note
Not in lottie web

Definition at line 96 of file helpers.py.

◆ Intersect

string lottie.objects.helpers.MaskMode.Intersect = "i"
static

Definition at line 90 of file helpers.py.

◆ Lighten

string lottie.objects.helpers.MaskMode.Lighten = "l"
static
Note
Not in lottie web

Definition at line 92 of file helpers.py.

◆ No

string lottie.objects.helpers.MaskMode.No = "n"
static

Definition at line 87 of file helpers.py.

◆ Subtract

string lottie.objects.helpers.MaskMode.Subtract = "s"
static

Definition at line 89 of file helpers.py.


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