PathMulticolorGradientBrush
内容
[
隐藏
]Inheritance: java.lang.Object, com.aspose.imaging.DisposableObject, com.aspose.imaging.Brush, com.aspose.imaging.brushes.TransformBrush, com.aspose.imaging.brushes.PathGradientBrushBase
public final class PathMulticolorGradientBrush extends PathGradientBrushBase
封装一个带有渐变的 Aspose.Imaging.Brush 对象。此类不可被继承。
构造函数
| 构造函数 | 描述 |
|---|---|
| PathMulticolorGradientBrush(PointF[] pathPoints) | 使用指定的点初始化 PathMulticolorGradientBrush 类的新实例。 |
| PathMulticolorGradientBrush(PointF[] pathPoints, int wrapMode) | 使用指定的点和包装模式初始化 PathMulticolorGradientBrush 类的新实例。 |
| PathMulticolorGradientBrush(Point[] pathPoints) | 使用指定的点初始化 PathMulticolorGradientBrush 类的新实例。 |
| PathMulticolorGradientBrush(Point[] pathPoints, int wrapMode) | 使用指定的点和包装模式初始化 PathMulticolorGradientBrush 类的新实例。 |
| PathMulticolorGradientBrush(GraphicsPath path) | 使用指定的路径初始化 PathMulticolorGradientBrush 类的新实例。 |
方法
| 方法 | 描述 |
|---|---|
| getInterpolationColors() | 获取或设置定义多颜色线性渐变的 com.aspose.imaging.ColorBlend。 |
| setInterpolationColors(ColorBlend value) | 获取或设置定义多颜色线性渐变的 com.aspose.imaging.ColorBlend。 |
PathMulticolorGradientBrush(PointF[] pathPoints)
public PathMulticolorGradientBrush(PointF[] pathPoints)
使用指定的点初始化 PathMulticolorGradientBrush 类的新实例。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| pathPoints | PointF[] | 一个由 PointF 结构组成的数组,表示构成路径顶点的点。 |
PathMulticolorGradientBrush(PointF[] pathPoints, int wrapMode)
public PathMulticolorGradientBrush(PointF[] pathPoints, int wrapMode)
使用指定的点和包装模式初始化 PathMulticolorGradientBrush 类的新实例。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| pathPoints | PointF[] | 一个由 PointF 结构组成的数组,表示构成路径顶点的点。 |
| wrapMode | int | 一个 WrapMode,指定使用此 PathMulticolorGradientBrush 绘制的填充如何平铺。 |
PathMulticolorGradientBrush(Point[] pathPoints)
public PathMulticolorGradientBrush(Point[] pathPoints)
使用指定的点初始化 PathMulticolorGradientBrush 类的新实例。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| pathPoints | Point[] | 一个由 Point 结构组成的数组,表示构成路径顶点的点。 |
PathMulticolorGradientBrush(Point[] pathPoints, int wrapMode)
public PathMulticolorGradientBrush(Point[] pathPoints, int wrapMode)
使用指定的点和包装模式初始化 PathMulticolorGradientBrush 类的新实例。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| pathPoints | Point[] | 一个由 Point 结构组成的数组,表示构成路径顶点的点。 |
| wrapMode | int | 一个 WrapMode,指定使用此 PathMulticolorGradientBrush 绘制的填充如何平铺。 |
PathMulticolorGradientBrush(GraphicsPath path)
public PathMulticolorGradientBrush(GraphicsPath path)
使用指定的路径初始化 PathMulticolorGradientBrush 类的新实例。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| path | GraphicsPath | 定义此 PathMulticolorGradientBrush 所填充区域的 GraphicsPath。 |
getInterpolationColors()
public ColorBlend getInterpolationColors()
获取或设置定义多颜色线性渐变的 com.aspose.imaging.ColorBlend。
值:一个定义多颜色线性渐变的 com.aspose.imaging.ColorBlend。
Returns: ColorBlend
setInterpolationColors(ColorBlend value)
public void setInterpolationColors(ColorBlend value)
获取或设置定义多颜色线性渐变的 com.aspose.imaging.ColorBlend。
值:一个定义多颜色线性渐变的 com.aspose.imaging.ColorBlend。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| value | ColorBlend |