|
def | __init__ (self) |
|
def | bounding_box (self, time=0) |
| Bounding box of the shape element at the given time. More...
|
|
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) |
|
- Todo:
- Implement SIF Export
Trims shapes into a segment
- Lottie JSON
-
Definition at line 736 of file shapes.py.
◆ __init__()
def lottie.objects.shapes.Trim.__init__ |
( |
|
self | ) |
|
◆ end
lottie.objects.shapes.Trim.end |
End of the segment, as a percentage.
Definition at line 754 of file shapes.py.
◆ multiple
lottie.objects.shapes.Trim.multiple |
◆ offset
lottie.objects.shapes.Trim.offset |
start/end offset, as an angle (0, 360)
Definition at line 756 of file shapes.py.
◆ start
lottie.objects.shapes.Trim.start |
Start of the segment, as a percentage.
Definition at line 752 of file shapes.py.
◆ type
string lottie.objects.shapes.Trim.type = "tm" |
|
static |
The documentation for this class was generated from the following file: