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[] pathPoints)
Initializes a new instance of the
PathMulticolorGradientBrush class with the specified points. |
PathMulticolorGradientBrush(Point[] pathPoints,
int wrapMode)
Initializes a new instance of the
PathMulticolorGradientBrush class with the specified points and wrap mode. |
PathMulticolorGradientBrush(PointF[] pathPoints)
Initializes a new instance of the
PathMulticolorGradientBrush class with the specified points. |
PathMulticolorGradientBrush(PointF[] pathPoints,
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, equals, getOpacity, hashCode, setOpacityclose, dispose, getDisposedpublic PathMulticolorGradientBrush(PointF[] pathPoints)
Initializes a new instance of the PathMulticolorGradientBrush class with the specified points.
pathPoints - An array of PointF structures that represents the points that make up the vertices of the path.public PathMulticolorGradientBrush(PointF[] pathPoints, int wrapMode)
Initializes a new instance of the PathMulticolorGradientBrush class with the specified points and wrap mode.
pathPoints - An array of PointF structures that represents the points that make up the vertices of the path.wrapMode - A WrapMode that specifies how fills drawn with this PathMulticolorGradientBrush are tiled.public PathMulticolorGradientBrush(Point[] pathPoints)
Initializes a new instance of the PathMulticolorGradientBrush class with the specified points.
pathPoints - An array of Point structures that represents the points that make up the vertices of the path.public PathMulticolorGradientBrush(Point[] pathPoints, int wrapMode)
Initializes a new instance of the PathMulticolorGradientBrush class with the specified points and wrap mode.
pathPoints - An array of Point structures that represents the points that make up the vertices of the path.wrapMode - A 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-2025 Aspose Pty Ltd. All Rights Reserved.