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
Encapsulates a Aspose.Imaging.Brush
object with a gradient. This class cannot be inherited.
Constructors
Constructor | Description |
---|---|
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. |
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(GraphicsPath path) | Initializes a new instance of the PathMulticolorGradientBrush class with the specified path. |
Methods
Method | Description |
---|---|
getInterpolationColors() | Gets or sets a com.aspose.imaging.ColorBlend that defines a multicolor linear gradient. |
setInterpolationColors(ColorBlend value) | Gets or sets a com.aspose.imaging.ColorBlend that defines a multicolor linear gradient. |
PathMulticolorGradientBrush(PointF[] pathPoints)
public PathMulticolorGradientBrush(PointF[] pathPoints)
Initializes a new instance of the PathMulticolorGradientBrush class with the specified points.
Parameters:
Parameter | Type | Description |
---|---|---|
pathPoints | PointF[] | An array of PointF structures that represents the points that make up the vertices of the path. |
PathMulticolorGradientBrush(PointF[] pathPoints, int wrapMode)
public PathMulticolorGradientBrush(PointF[] pathPoints, int wrapMode)
Initializes a new instance of the PathMulticolorGradientBrush class with the specified points and wrap mode.
Parameters:
Parameter | Type | Description |
---|---|---|
pathPoints | PointF[] | An array of PointF structures that represents the points that make up the vertices of the path. |
wrapMode | int | A WrapMode that specifies how fills drawn with this PathMulticolorGradientBrush are tiled. |
PathMulticolorGradientBrush(Point[] pathPoints)
public PathMulticolorGradientBrush(Point[] pathPoints)
Initializes a new instance of the PathMulticolorGradientBrush class with the specified points.
Parameters:
Parameter | Type | Description |
---|---|---|
pathPoints | Point[] | An array of Point structures that represents the points that make up the vertices of the path. |
PathMulticolorGradientBrush(Point[] pathPoints, int wrapMode)
public PathMulticolorGradientBrush(Point[] pathPoints, int wrapMode)
Initializes a new instance of the PathMulticolorGradientBrush class with the specified points and wrap mode.
Parameters:
Parameter | Type | Description |
---|---|---|
pathPoints | Point[] | An array of Point structures that represents the points that make up the vertices of the path. |
wrapMode | int | A WrapMode that specifies how fills drawn with this PathMulticolorGradientBrush are tiled. |
PathMulticolorGradientBrush(GraphicsPath path)
public PathMulticolorGradientBrush(GraphicsPath path)
Initializes a new instance of the PathMulticolorGradientBrush
class with the specified path.
Parameters:
Parameter | Type | Description |
---|---|---|
path | GraphicsPath | The GraphicsPath that defines the area filled by this PathMulticolorGradientBrush . |
getInterpolationColors()
public ColorBlend getInterpolationColors()
Gets or sets a com.aspose.imaging.ColorBlend
that defines a multicolor linear gradient.
Value: A com.aspose.imaging.ColorBlend
that defines a multicolor linear gradient.
Returns: ColorBlend
setInterpolationColors(ColorBlend value)
public void setInterpolationColors(ColorBlend value)
Gets or sets a com.aspose.imaging.ColorBlend
that defines a multicolor linear gradient.
Value: A com.aspose.imaging.ColorBlend
that defines a multicolor linear gradient.
Parameters:
Parameter | Type | Description |
---|---|---|
value | ColorBlend |