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

ConstructorDescription
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

MethodDescription
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:

ParameterTypeDescription
pathPointsPointF[]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:

ParameterTypeDescription
pathPointsPointF[]An array of PointF structures that represents the points that make up the vertices of the path.
wrapModeintA 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:

ParameterTypeDescription
pathPointsPoint[]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:

ParameterTypeDescription
pathPointsPoint[]An array of Point structures that represents the points that make up the vertices of the path.
wrapModeintA 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:

ParameterTypeDescription
pathGraphicsPathThe 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:

ParameterTypeDescription
valueColorBlend