Rectangle
Overview
Rectangle is a class in Aspose.PDF FOSS for Python.
Rectangle representing image placement bounds on a PDF page.
This class provides 1 method for working with Rectangle objects in Python programs.
Available methods include: __init__.
All public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package.
Properties: height, width, x, y.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
x | `` | Read | Gets the x. |
y | `` | Read | Gets the y. |
width | `` | Read | Gets the width. |
height | `` | Read | Gets the height. |
Methods
| Signature | Description |
|---|---|
__init__(x: float, y: float, width: float, height: float) | Calls init(x, y, width, height) on this Rectangle instance. |