GradientAxialShading
GradientAxialShading
概述
GradientAxialShading 是 Aspose.PDF FOSS 中用于 Python 的一个类。
表示轴向(线性)渐变着色。
此类提供 1 个方法,用于在 Python 程序中处理 GradientAxialShading 对象。可用的方法包括:__init__。在安装了 Aspose.PDF FOSS for Python 包后,所有公共成员对任何 Python 应用程序均可访问。属性:end、end_color、start、start_color。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
start_color | Color | 读取 | 获取起始颜色。 |
end_color | Color | 读取 | 获取结束颜色。 |
start | Point | 读取 | 获取起始点。 |
end | Point | 读取 | 获取结束点。 |
方法
| 签名 | 描述 |
|---|---|
| `init(start_color: Color, end_color: Color, start: Point | None, end: Point |