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.helpers.Transform | |
def | to_matrix (self, time, auto_orient=False) |
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 | |
start_opacity | |
end_opacity | |
Public Attributes inherited from lottie.objects.helpers.Transform | |
anchor_point | |
Transform Anchor Point. More... | |
position | |
Transform Position. More... | |
scale | |
Transform Scale. More... | |
rotation | |
Transform Rotation. More... | |
opacity | |
Transform Opacity. More... | |
skew | |
Transform Skew. More... | |
skew_axis | |
Transform Skew Axis. More... | |
orientation | |
Lottie name | Type | Description | Attribute |
---|---|---|---|
a | PositionValue | Transform Anchor Point. | anchor_point |
p | PositionValue | Transform Position. | position |
s | MultiDimensional | Transform Scale. | scale |
r | Value | Transform Rotation. | rotation |
o | Value | Transform Opacity. | opacity |
sk | Value | Transform Skew. | skew |
sa | Value | Transform Skew Axis. | skew_axis |
or | MultiDimensional | orientation | |
so | Value | start_opacity | |
eo | Value | end_opacity |
def lottie.objects.shapes.RepeaterTransform.__init__ | ( | self | ) |
Reimplemented from lottie.objects.helpers.Transform.