Class PathMulticolorGradientBrush

Class PathMulticolorGradientBrush

Namespace: Aspose.Imaging.Brushes
Assembly: Aspose.Imaging.dll (25.4.0)

Encapsulates a Aspose.Imaging.Brush object with a gradient. This class cannot be inherited.

[JsonObject(MemberSerialization.OptIn)]
public sealed class PathMulticolorGradientBrush : PathGradientBrushBase, IDisposable

Inheritance

object DisposableObject Brush TransformBrush PathGradientBrushBase PathMulticolorGradientBrush

Implements

IDisposable

Inherited Members

PathGradientBrushBase.PathPoints , PathGradientBrushBase.GraphicsPath , PathGradientBrushBase.CenterPoint , PathGradientBrushBase.FocusScales , TransformBrush.ResetTransform() , TransformBrush.MultiplyTransform(Matrix) , TransformBrush.MultiplyTransform(Matrix, MatrixOrder) , TransformBrush.TranslateTransform(float, float) , TransformBrush.TranslateTransform(float, float, MatrixOrder) , TransformBrush.ScaleTransform(float, float) , TransformBrush.ScaleTransform(float, float, MatrixOrder) , TransformBrush.RotateTransform(float) , TransformBrush.RotateTransform(float, MatrixOrder) , TransformBrush.WrapMode , TransformBrush.Transform , TransformBrush.IsTransformChanged , Brush.DeepClone() , Brush.Equals(object) , Brush.GetHashCode() , Brush.Opacity , DisposableObject.Dispose() , DisposableObject.Disposed , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

PathMulticolorGradientBrush(PointF[])

Initializes a new instance of the Aspose.Imaging.Brushes.PathMulticolorGradientBrush class with the specified points.

[JsonConstructor]
public PathMulticolorGradientBrush(PointF[] pathPoints)

Parameters

pathPoints PointF []

An array of Aspose.Imaging.PointF structures that represents the points that make up the vertices of the path.

PathMulticolorGradientBrush(PointF[], WrapMode)

Initializes a new instance of the Aspose.Imaging.Brushes.PathMulticolorGradientBrush class with the specified points and wrap mode.

public PathMulticolorGradientBrush(PointF[] pathPoints, WrapMode wrapMode)

Parameters

pathPoints PointF []

An array of Aspose.Imaging.PointF structures that represents the points that make up the vertices of the path.

wrapMode WrapMode

A Aspose.Imaging.WrapMode that specifies how fills drawn with this Aspose.Imaging.Brushes.PathMulticolorGradientBrush are tiled.

PathMulticolorGradientBrush(Point[])

Initializes a new instance of the Aspose.Imaging.Brushes.PathMulticolorGradientBrush class with the specified points.

public PathMulticolorGradientBrush(Point[] pathPoints)

Parameters

pathPoints Point []

An array of Aspose.Imaging.Point structures that represents the points that make up the vertices of the path.

PathMulticolorGradientBrush(Point[], WrapMode)

Initializes a new instance of the Aspose.Imaging.Brushes.PathMulticolorGradientBrush class with the specified points and wrap mode.

public PathMulticolorGradientBrush(Point[] pathPoints, WrapMode wrapMode)

Parameters

pathPoints Point []

An array of Aspose.Imaging.Point structures that represents the points that make up the vertices of the path.

wrapMode WrapMode

A Aspose.Imaging.WrapMode that specifies how fills drawn with this Aspose.Imaging.Brushes.PathMulticolorGradientBrush are tiled.

PathMulticolorGradientBrush(GraphicsPath)

Initializes a new instance of the Aspose.Imaging.Brushes.PathMulticolorGradientBrush class with the specified path.

public PathMulticolorGradientBrush(GraphicsPath path)

Parameters

path GraphicsPath

The Aspose.Imaging.GraphicsPath that defines the area filled by this Aspose.Imaging.Brushes.PathMulticolorGradientBrush.

Properties

InterpolationColors

Gets or sets a Aspose.Imaging.ColorBlend that defines a multicolor linear gradient.

public ColorBlend InterpolationColors { get; set; }

Property Value

ColorBlend

 English