public final class PathMulticolorGradientBrush extends PathGradientBrushBase
Encapsulates a Aspose.Imaging.Brush object with a gradient. This class cannot be inherited.
| Constructor and Description |
|---|
PathMulticolorGradientBrush(GraphicsPath path)
Initializes a new instance of the
PathMulticolorGradientBrush class with the specified path. |
PathMulticolorGradientBrush(Point[] points)
Initializes a new instance of the
PathMulticolorGradientBrush class with the specified points. |
PathMulticolorGradientBrush(Point[] points,
int wrapMode)
Initializes a new instance of the
PathMulticolorGradientBrush class with the specified points and wrap mode. |
PathMulticolorGradientBrush(PointF[] points)
Initializes a new instance of the
PathMulticolorGradientBrush class with the specified points. |
PathMulticolorGradientBrush(PointF[] points,
int wrapMode)
Initializes a new instance of the
PathMulticolorGradientBrush class with the specified points and wrap mode. |
| Modifier and Type | Method and Description |
|---|---|
ColorBlend |
getInterpolationColors()
Gets or sets a
com.aspose.imaging.ColorBlend that defines a multicolor linear gradient. |
void |
setInterpolationColors(ColorBlend value)
Gets or sets a
com.aspose.imaging.ColorBlend that defines a multicolor linear gradient. |
getCenterPoint, getFocusScales, getGraphicsPath, getPathPoints, setCenterPoint, setFocusScalesgetTransform, getWrapMode, isTransformChanged, multiplyTransform, multiplyTransform, resetTransform, rotateTransform, rotateTransform, scaleTransform, scaleTransform, setTransform, setWrapMode, translateTransform, translateTransformdeepClone, getOpacity, setOpacityclose, dispose, getDisposedpublic PathMulticolorGradientBrush(PointF[] points)
Initializes a new instance of the PathMulticolorGradientBrush class with the specified points.
points - An array of Aspose.Imaging.PointF structures that represents the points that make up the vertices of the path.public PathMulticolorGradientBrush(PointF[] points, int wrapMode)
Initializes a new instance of the PathMulticolorGradientBrush class with the specified points and wrap mode.
points - An array of Aspose.Imaging.PointF structures that represents the points that make up the vertices of the path.wrapMode - A Aspose.Imaging.WrapMode that specifies how fills drawn with this PathMulticolorGradientBrush are tiled.public PathMulticolorGradientBrush(Point[] points)
Initializes a new instance of the PathMulticolorGradientBrush class with the specified points.
points - An array of Aspose.Imaging.Point structures that represents the points that make up the vertices of the path.public PathMulticolorGradientBrush(Point[] points, int wrapMode)
Initializes a new instance of the PathMulticolorGradientBrush class with the specified points and wrap mode.
points - An array of Aspose.Imaging.Point structures that represents the points that make up the vertices of the path.wrapMode - A Aspose.Imaging.WrapMode that specifies how fills drawn with this PathMulticolorGradientBrush are tiled.public PathMulticolorGradientBrush(GraphicsPath path)
Initializes a new instance of the PathMulticolorGradientBrush class with the specified path.
path - The GraphicsPath that defines the area filled by this PathMulticolorGradientBrush.public ColorBlend getInterpolationColors()
Gets or sets a com.aspose.imaging.ColorBlend that defines a multicolor linear gradient.
com.aspose.imaging.ColorBlend that defines a multicolor linear gradient.public void setInterpolationColors(ColorBlend value)
Gets or sets a com.aspose.imaging.ColorBlend that defines a multicolor linear gradient.
com.aspose.imaging.ColorBlend that defines a multicolor linear gradient.Copyright (c) 2008-2022 Aspose Pty Ltd. All Rights Reserved.