python-lottie  0.7.0+dev66cafb9
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.objects.styles.SatinStyle Class Reference
Inheritance diagram for lottie.objects.styles.SatinStyle:
[legend]
Collaboration diagram for lottie.objects.styles.SatinStyle:
[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
 
 angle
 
 distance
 
 size
 
 invert
 
- Public Attributes inherited from lottie.objects.helpers.VisualObject
 name
 
 match_name
 

Static Public Attributes

int type = 6
 
- 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 = 6   type
ty int = 6   type
bm Value   blend_mode
c ColorValue   color
o Value   opacity
a Value   angle
d Value   distance
s Value   size
in Value   invert

Definition at line 245 of file styles.py.

Constructor & Destructor Documentation

◆ __init__()

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

Reimplemented from lottie.objects.helpers.VisualObject.

Definition at line 259 of file styles.py.

Member Data Documentation

◆ angle

lottie.objects.styles.SatinStyle.angle

Definition at line 265 of file styles.py.

◆ blend_mode

lottie.objects.styles.SatinStyle.blend_mode

Definition at line 262 of file styles.py.

◆ color

lottie.objects.styles.SatinStyle.color

Definition at line 263 of file styles.py.

◆ distance

lottie.objects.styles.SatinStyle.distance

Definition at line 266 of file styles.py.

◆ invert

lottie.objects.styles.SatinStyle.invert

Definition at line 268 of file styles.py.

◆ opacity

lottie.objects.styles.SatinStyle.opacity

Definition at line 264 of file styles.py.

◆ size

lottie.objects.styles.SatinStyle.size

Definition at line 267 of file styles.py.

◆ type

int lottie.objects.styles.SatinStyle.type = 6
static

Definition at line 246 of file styles.py.


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