python-lottie  0.7.0+dev66cafb9
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.objects.styles.GradientOverlayStyle Class Reference
Inheritance diagram for lottie.objects.styles.GradientOverlayStyle:
[legend]
Collaboration diagram for lottie.objects.styles.GradientOverlayStyle:
[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
 
 opacity
 
 gradient
 
 smoothness
 
 angle
 
 gradient_type
 
 reverse
 
 align
 Align with layer. More...
 
 scale
 
 offset
 
- Public Attributes inherited from lottie.objects.helpers.VisualObject
 name
 
 match_name
 

Static Public Attributes

int type = 8
 
- 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 = 8   type
ty int = 8   type
bm Value   blend_mode
o Value   opacity
gf GradientColors   gradient
gs Value   smoothness
a Value   angle
gt GradientType   gradient_type
re Value   reverse
al Value Align with layer.   align
s Value   scale
of Value   offset

Definition at line 128 of file styles.py.

Constructor & Destructor Documentation

◆ __init__()

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

Reimplemented from lottie.objects.helpers.VisualObject.

Definition at line 144 of file styles.py.

Member Data Documentation

◆ align

lottie.objects.styles.GradientOverlayStyle.align

Align with layer.

Definition at line 155 of file styles.py.

◆ angle

lottie.objects.styles.GradientOverlayStyle.angle

Definition at line 151 of file styles.py.

◆ blend_mode

lottie.objects.styles.GradientOverlayStyle.blend_mode

Definition at line 147 of file styles.py.

◆ gradient

lottie.objects.styles.GradientOverlayStyle.gradient

Definition at line 149 of file styles.py.

◆ gradient_type

lottie.objects.styles.GradientOverlayStyle.gradient_type

Definition at line 152 of file styles.py.

◆ offset

lottie.objects.styles.GradientOverlayStyle.offset

Definition at line 157 of file styles.py.

◆ opacity

lottie.objects.styles.GradientOverlayStyle.opacity

Definition at line 148 of file styles.py.

◆ reverse

lottie.objects.styles.GradientOverlayStyle.reverse

Definition at line 153 of file styles.py.

◆ scale

lottie.objects.styles.GradientOverlayStyle.scale

Definition at line 156 of file styles.py.

◆ smoothness

lottie.objects.styles.GradientOverlayStyle.smoothness

Definition at line 150 of file styles.py.

◆ type

int lottie.objects.styles.GradientOverlayStyle.type = 8
static

Definition at line 129 of file styles.py.


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