Search
PathGradientBrush Members
Constructors Properties Methods
 


PathGradientBrush represents a brush that fills the interiors of geometric shapes with a gradient.

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

 Public Constructors

  Name Description

PathGradientBrush

Overloaded. Initializes a new instance of the PathGradientBrush class.

 Public Properties

  Name Description

CenterColor

Gets or sets the color at the center of the gradient path.

CenterPoint

Gets or sets the center of the gradient path.

InterpolationColors

Gets or sets a ColorBlend object that defines a multiple color gradient.

SurroundingColor

Gets or sets the color drawn at the borders of the gradient path.

 Public Methods

  Name Description

Clone

Creates an exact copy of this brush.

CreateGdiBrush

Returns an instance of the System.Drawing.Drawing2D.PathGradientBrush 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 "PathGradient".

 See Also