Shape bounding box.
More...
Shape bounding box.
Definition at line 8 of file shapes.py.
◆ __init__()
def lottie.objects.shapes.BoundingBox.__init__ |
( |
|
self, |
|
|
|
x1 = None , |
|
|
|
y1 = None , |
|
|
|
x2 = None , |
|
|
|
y2 = None |
|
) |
| |
◆ __repr__()
def lottie.objects.shapes.BoundingBox.__repr__ |
( |
|
self | ) |
|
◆ center()
def lottie.objects.shapes.BoundingBox.center |
( |
|
self | ) |
|
Center point of the bounding box.
Definition at line 40 of file shapes.py.
◆ expand()
def lottie.objects.shapes.BoundingBox.expand |
( |
|
self, |
|
|
|
other |
|
) |
| |
Expands the bounding box to include another bounding box.
Definition at line 33 of file shapes.py.
◆ height()
def lottie.objects.shapes.BoundingBox.height |
( |
|
self | ) |
|
◆ include()
def lottie.objects.shapes.BoundingBox.include |
( |
|
self, |
|
|
|
x, |
|
|
|
y |
|
) |
| |
Expands the box to include the point at x, y.
Definition at line 18 of file shapes.py.
◆ isnull()
def lottie.objects.shapes.BoundingBox.isnull |
( |
|
self | ) |
|
Whether the box is default-initialized.
Definition at line 46 of file shapes.py.
◆ size()
def lottie.objects.shapes.BoundingBox.size |
( |
|
self | ) |
|
◆ width()
def lottie.objects.shapes.BoundingBox.width |
( |
|
self | ) |
|
◆ x1
lottie.objects.shapes.BoundingBox.x1 |
◆ x2
lottie.objects.shapes.BoundingBox.x2 |
◆ y1
lottie.objects.shapes.BoundingBox.y1 |
◆ y2
lottie.objects.shapes.BoundingBox.y2 |
The documentation for this class was generated from the following file: