python-lottie  0.6.8+dev6bb61be
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.objects.layers.MatteMode Class Reference
Inheritance diagram for lottie.objects.layers.MatteMode:
[legend]
Collaboration diagram for lottie.objects.layers.MatteMode:
[legend]

Static Public Attributes

int Normal = 0
 
int Alpha = 1
 
int InvertedAlpha = 2
 
int Luma = 3
 
int InvertedLuma = 4
 

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

Todo:
SVG masks

Definition at line 32 of file layers.py.

Member Data Documentation

◆ Alpha

int lottie.objects.layers.MatteMode.Alpha = 1
static

Definition at line 34 of file layers.py.

◆ InvertedAlpha

int lottie.objects.layers.MatteMode.InvertedAlpha = 2
static

Definition at line 35 of file layers.py.

◆ InvertedLuma

int lottie.objects.layers.MatteMode.InvertedLuma = 4
static

Definition at line 37 of file layers.py.

◆ Luma

int lottie.objects.layers.MatteMode.Luma = 3
static

Definition at line 36 of file layers.py.

◆ Normal

int lottie.objects.layers.MatteMode.Normal = 0
static

Definition at line 33 of file layers.py.


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