ASP.NET Pack Programmer's Guide
LinearGradientBrush Members
Constructors Properties Methods
 


LinearGradientBrush objects represent brushes that fill the interiors of geometric shapes with a linear gradient.

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

 Public Constructors

  Name Description

LinearGradientBrush

Overloaded. Initializes a new instance of the LinearGradientBrush class.

 Public Properties

  Name Description

Angle

Gets or sets the angle of the gradient's orientation line.

Blend

Gets or sets a .NET Blend object that specifies positions and factors that define a custom falloff for the gradient.

InterpolationColors

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

LinearColors

Gets or sets the starting and ending colors of the gradient.

 Public Methods

  Name Description

Clone

Creates an exact copy of this brush.

CreateGdiBrush

Creates an instance of the System.Drawing.Drawing2D.LinearGradientBrush class that can be used to paint in a GDI+ Graphics object.

GetObjectData

Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the brush.

ToString

Returns "Gradient".

 See Also

LinearGradientBrush Class
MindFusion.Drawing Namespace