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

Style applied to a layer. More...

Inheritance diagram for lottie.objects.styles.LayerStyle:
[legend]
Collaboration diagram for lottie.objects.styles.LayerStyle:
[legend]

Static Public Attributes

 type = None
 

Additional Inherited Members

- Public Member Functions inherited from lottie.objects.helpers.VisualObject
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 inherited from lottie.objects.helpers.VisualObject
 name
 
 match_name
 

Detailed Description

Style applied to a layer.

Lottie JSON
Lottie name Type Description Attribute
nm str   name
mn str   match_name
ty int   type

Definition at line 9 of file styles.py.

Member Data Documentation

◆ type

lottie.objects.styles.LayerStyle.type = None
static

Definition at line 16 of file styles.py.


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