Table of Contents

Class PathMulticolorGradientBrush

Namespace
Aspose.Imaging.Brushes
Assembly
Aspose.Imaging.dll

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

public sealed class PathMulticolorGradientBrush : PathGradientBrushBase, IDisposable
Inheritance
PathMulticolorGradientBrush
Implements
Inherited Members

Constructors

PathMulticolorGradientBrush(GraphicsPath)

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

public PathMulticolorGradientBrush(GraphicsPath path)

Parameters

path GraphicsPath

The GraphicsPath that defines the area filled by this PathMulticolorGradientBrush.

PathMulticolorGradientBrush(PointF[])

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

public PathMulticolorGradientBrush(PointF[] pathPoints)

Parameters

pathPoints PointF[]

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

PathMulticolorGradientBrush(PointF[], WrapMode)

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

public PathMulticolorGradientBrush(PointF[] pathPoints, WrapMode wrapMode)

Parameters

pathPoints PointF[]

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

wrapMode WrapMode

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

PathMulticolorGradientBrush(Point[])

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

public PathMulticolorGradientBrush(Point[] pathPoints)

Parameters

pathPoints Point[]

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

PathMulticolorGradientBrush(Point[], WrapMode)

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

public PathMulticolorGradientBrush(Point[] pathPoints, WrapMode wrapMode)

Parameters

pathPoints Point[]

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

wrapMode WrapMode

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

Properties

InterpolationColors

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

public ColorBlend InterpolationColors { get; set; }

Property Value

ColorBlend

A ColorBlend that defines a multicolor linear gradient.