Rectangle
Rectangle
概述
Rectangle 是 Aspose.PDF FOSS 中用于 Python 的一个类。
表示 PDF 页面上图像放置边界的矩形。
此类在 Python 程序中提供 1 个用于操作 Rectangle 对象的方法。可用的方法包括:__init__。安装 Aspose.PDF FOSS for Python 包后,所有公共成员对任何 Python 应用程序均可访问。属性:height、width、x、y。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
x | `` | 读取 | 获取 x。 |
y | `` | 读取 | 获取 y。 |
width | `` | 读取 | 获取宽度。 |
height | `` | 读取 | 获取高度。 |
方法
| 签名 | 描述 |
|---|---|
__init__(x: float, y: float, width: float, height: float) | Calls init(x, y, width, height) 在此 Rectangle 实例上。 |