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 实例上。

另请参阅

 中文