Table of Contents

TGdipUIPathGradientBrush Class

Class encapsulating a GDI+ Path gradient.

Syntax

Namespace: FlexCel.Draw

public class TGdipUIPathGradientBrush: TUIPathGradientBrush, IGdipUIBrush

Constructors

Name Description
TGdipUIPathGradient​Brush Creates a new UIPathGradientBrush which encapsulates an existing GDI+ PathGradientBrush. Note that if you are encapsulating a brush from Brushes.Color class, you need to pass false in aNeedsDispose, since this class shouldn't dispose the brush when disposing the class.

Methods

Name Description
Dispose Override this method to dispose your own objects in your descending classes.
InvertBlend Inverts the colors of the gradient.

Properties

Name Description
CenterColor Color for the center of the gradient.
CenterPoint Center of the gradient.
Handle Brush encapsulated by this instance.
InterpolationColors Colors that define the gradient.
IsRectangular If true, this gradient is rectangular, else it is radial.
Rectangle Rectangle that defines the gradient.
SurroundColor Colors on the ouside of the path.
TransformElements Transform matrix.