MAUI Pack Programmer's Guide
PathGradientBrush Members
Constructors Properties Methods
 


Encapsulates a Brush object that fills the interior of an IGraphicsPath object with a gradient.

The following tables list the members exposed by the PathGradientBrush type.

 Public Constructors

  Name Description

PathGradientBrush

Initializes a new instance of the PathGradientBrush class.

 Public Properties

  Name Description

Colors

Gets or sets an array of colors that represents the colors to use at corresponding positions along a gradient.

Path

Gets or sets the IGraphicsPath that defines the area filled by this brush.

Positions

Gets or sets the positions along a gradient line.

 Public Methods

  Name Description

Clone

Brush.Clone override.

Equals

Overloaded.   (Inherited from Brush.)

GetHashCode

Object.GethashCode override. (Inherited from Brush.)

ToColor

Returns a solid color approximating the brush. (Inherited from Brush.)

 See Also

PathGradientBrush Class
MindFusion.Drawing Namespace