Animatable Bezier curve.
More...
|
def | __init__ (self, bezier=None) |
|
def | bounding_box (self, time=0) |
| Bounding box of the shape element at the given time. More...
|
|
def | to_bezier (self) |
| Returns a Path corresponding to this Shape. More...
|
|
def | __init__ (self) |
|
def | __str__ (self) |
|
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 | __new__ (cls, name, bases, attr) |
|
Animatable Bezier curve.
- Lottie JSON
-
Definition at line 401 of file shapes.py.
◆ __init__()
def lottie.objects.shapes.Path.__init__ |
( |
|
self, |
|
|
|
bezier = None |
|
) |
| |
◆ bounding_box()
def lottie.objects.shapes.Path.bounding_box |
( |
|
self, |
|
|
|
time = 0 |
|
) |
| |
◆ to_bezier()
def lottie.objects.shapes.Path.to_bezier |
( |
|
self | ) |
|
◆ index
lottie.objects.shapes.Path.index |
◆ shape
lottie.objects.shapes.Path.shape |
◆ type
string lottie.objects.shapes.Path.type = "sh" |
|
static |
The documentation for this class was generated from the following file: