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

 bevel_style
 
 technique
 
 strength
 
 size
 
 soften
 
 global_angle
 Use global light. More...
 
 angle
 Local lighting angle. More...
 
 altitude
 Local lighting altitude. More...
 
 highlight_mode
 
 highlight_color
 
 highlight_opacity
 
 shadow_mode
 
 shadow_color
 
 shadow_opacity
 
- Public Attributes inherited from lottie.objects.helpers.VisualObject
 name
 
 match_name
 

Static Public Attributes

int type = 5
 
- 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 = 5   type
ty int = 5   type
bs Value   bevel_style
bt Value   technique
sr Value   strength
s Value   size
sf Value   soften
ga Value Use global light.   global_angle
a Value Local lighting angle.   angle
ll Value Local lighting altitude.   altitude
hm Value   highlight_mode
hc ColorValue   highlight_color
ho Value   highlight_opacity
sm Value   shadow_mode
sc ColorValue   shadow_color
so Value   shadow_opacity

Definition at line 34 of file styles.py.

Constructor & Destructor Documentation

◆ __init__()

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

Reimplemented from lottie.objects.helpers.VisualObject.

Definition at line 54 of file styles.py.

Member Data Documentation

◆ altitude

lottie.objects.styles.BevelEmbossStyle.altitude

Local lighting altitude.

Definition at line 67 of file styles.py.

◆ angle

lottie.objects.styles.BevelEmbossStyle.angle

Local lighting angle.

Definition at line 65 of file styles.py.

◆ bevel_style

lottie.objects.styles.BevelEmbossStyle.bevel_style

Definition at line 57 of file styles.py.

◆ global_angle

lottie.objects.styles.BevelEmbossStyle.global_angle

Use global light.

Definition at line 63 of file styles.py.

◆ highlight_color

lottie.objects.styles.BevelEmbossStyle.highlight_color

Definition at line 69 of file styles.py.

◆ highlight_mode

lottie.objects.styles.BevelEmbossStyle.highlight_mode

Definition at line 68 of file styles.py.

◆ highlight_opacity

lottie.objects.styles.BevelEmbossStyle.highlight_opacity

Definition at line 70 of file styles.py.

◆ shadow_color

lottie.objects.styles.BevelEmbossStyle.shadow_color

Definition at line 72 of file styles.py.

◆ shadow_mode

lottie.objects.styles.BevelEmbossStyle.shadow_mode

Definition at line 71 of file styles.py.

◆ shadow_opacity

lottie.objects.styles.BevelEmbossStyle.shadow_opacity

Definition at line 73 of file styles.py.

◆ size

lottie.objects.styles.BevelEmbossStyle.size

Definition at line 60 of file styles.py.

◆ soften

lottie.objects.styles.BevelEmbossStyle.soften

Definition at line 61 of file styles.py.

◆ strength

lottie.objects.styles.BevelEmbossStyle.strength

Definition at line 59 of file styles.py.

◆ technique

lottie.objects.styles.BevelEmbossStyle.technique

Definition at line 58 of file styles.py.

◆ type

int lottie.objects.styles.BevelEmbossStyle.type = 5
static

Definition at line 35 of file styles.py.


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