GraphicElement

GraphicElement

概述

GraphicElement 是 Aspose.PDF FOSS 中用于 Python 的类。

从页面内容流中读取的已绘制路径或已放置图像。

此类为 Python 程序中的 GraphicElement 对象声明了 1 个方法。可用的方法包括:__init__。在安装了 Aspose.PDF FOSS for Python 包之后,所有公共成员对任何 Python 应用程序均可访问。属性:fill_color、kind、line_width、operation、page_index、rectangle,以及另外 2 项。

属性

名称类型访问描述
kindstr读取是什么把标记放在页面上的。
operation`strNone`读取
rectangleRectangle读取页面(用户)空间中的边界框。
page_indexint读取此元素所在页面的零基索引。
resource_name`strNone`读取
fill_color`tuple[float, float, float]None`读取
stroke_color`tuple[float, float, float]None`读取
line_width`floatNone`读取

方法

签名描述
__init__(element: AbsorbedElement)Calls init(element) 在此 GraphicElement 实例上。
 中文