python-lottie  0.7.0+dev66cafb9
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.objects.styles.InnerShadowStyle Class Reference
Inheritance diagram for lottie.objects.styles.InnerShadowStyle:
[legend]
Collaboration diagram for lottie.objects.styles.InnerShadowStyle:
[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

 color
 
 opacity
 
 angle
 Local light angle. More...
 
 size
 Blur size. More...
 
 distance
 
 choke_spread
 
 blend_mode
 
 noise
 
- Public Attributes inherited from lottie.objects.helpers.VisualObject
 name
 
 match_name
 

Static Public Attributes

int type = 2
 
- 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 = 2   type
ty int = 2   type
c ColorValue   color
o Value   opacity
a Value Local light angle.   angle
s Value Blur size.   size
d Value   distance
ch Value   choke_spread
bm Value   blend_mode
no Value   noise

Definition at line 215 of file styles.py.

Constructor & Destructor Documentation

◆ __init__()

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

Reimplemented from lottie.objects.helpers.VisualObject.

Definition at line 229 of file styles.py.

Member Data Documentation

◆ angle

lottie.objects.styles.InnerShadowStyle.angle

Local light angle.

Definition at line 235 of file styles.py.

◆ blend_mode

lottie.objects.styles.InnerShadowStyle.blend_mode

Definition at line 240 of file styles.py.

◆ choke_spread

lottie.objects.styles.InnerShadowStyle.choke_spread

Definition at line 239 of file styles.py.

◆ color

lottie.objects.styles.InnerShadowStyle.color

Definition at line 232 of file styles.py.

◆ distance

lottie.objects.styles.InnerShadowStyle.distance

Definition at line 238 of file styles.py.

◆ noise

lottie.objects.styles.InnerShadowStyle.noise

Definition at line 241 of file styles.py.

◆ opacity

lottie.objects.styles.InnerShadowStyle.opacity

Definition at line 233 of file styles.py.

◆ size

lottie.objects.styles.InnerShadowStyle.size

Blur size.

Definition at line 237 of file styles.py.

◆ type

int lottie.objects.styles.InnerShadowStyle.type = 2
static

Definition at line 216 of file styles.py.


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