python-lottie
0.7.0+dev66cafb9
A framework to work with lottie files and telegram animated stickers (tgs)
|
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 | |
name | |
match_name | |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name |
Definition at line 100 of file helpers.py.
def lottie.objects.helpers.VisualObject.__init__ | ( | self | ) |
Reimplemented from lottie.objects.base.LottieObject.
Reimplemented in lottie.objects.styles.StrokeStyle, lottie.objects.styles.SatinStyle, lottie.objects.styles.InnerShadowStyle, lottie.objects.styles.OuterGlowStyle, lottie.objects.styles.InnerGlowStyle, lottie.objects.styles.GradientOverlayStyle, lottie.objects.styles.DropShadowStyle, lottie.objects.styles.ColorOverlayStyle, lottie.objects.styles.BevelEmbossStyle, lottie.objects.shapes.OffsetPath, lottie.objects.shapes.ZigZag, lottie.objects.shapes.PuckerBloat, lottie.objects.shapes.Twist, lottie.objects.shapes.Merge, lottie.objects.shapes.Trim, lottie.objects.shapes.TransformShape, lottie.objects.shapes.Group, lottie.objects.shapes.Star, lottie.objects.shapes.Shape, lottie.objects.shapes.ShapeElement, lottie.objects.layers.AudioLayer, lottie.objects.layers.DataLayer, lottie.objects.layers.CameraLayer, lottie.objects.layers.ShapeLayer, lottie.objects.layers.TextLayer, lottie.objects.layers.NullLayer, lottie.objects.layers.VisualLayer, lottie.objects.layers.Layer, lottie.objects.effects.EffectValueLayer, lottie.objects.effects.EffectValue, and lottie.objects.assets.FileAsset.
Definition at line 106 of file helpers.py.
lottie.objects.helpers.VisualObject.match_name |
Definition at line 111 of file helpers.py.
lottie.objects.helpers.VisualObject.name |
Definition at line 109 of file helpers.py.