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

NameTypeAccessDescription
x``ReadGets the x.
y``ReadGets the y.
width``ReadGets the width.
height``ReadGets the height.

Methods

SignatureDescription
__init__(x: float, y: float, width: float, height: float)Calls init(x, y, width, height) on this Rectangle instance.

See Also