Star shape.
More...
|
def | __init__ (self) |
|
def | bounding_box (self, time=0) |
| Bounding box of the shape element at the given time. More...
|
|
def | to_bezier (self) |
| Returns a Shape corresponding to this star. 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) |
|
Star shape.
- Lottie JSON
-
Definition at line 239 of file shapes.py.
◆ __init__()
def lottie.objects.shapes.Star.__init__ |
( |
|
self | ) |
|
◆ bounding_box()
def lottie.objects.shapes.Star.bounding_box |
( |
|
self, |
|
|
|
time = 0 |
|
) |
| |
◆ to_bezier()
def lottie.objects.shapes.Star.to_bezier |
( |
|
self | ) |
|
◆ inner_radius
lottie.objects.shapes.Star.inner_radius |
◆ inner_roundness
lottie.objects.shapes.Star.inner_roundness |
◆ outer_radius
lottie.objects.shapes.Star.outer_radius |
◆ outer_roundness
lottie.objects.shapes.Star.outer_roundness |
◆ points
lottie.objects.shapes.Star.points |
◆ position
lottie.objects.shapes.Star.position |
◆ rotation
lottie.objects.shapes.Star.rotation |
◆ star_type
lottie.objects.shapes.Star.star_type |
◆ type
string lottie.objects.shapes.Star.type = "sr" |
|
static |
The documentation for this class was generated from the following file: