Table of Contents

TGdipUILinearGradientBrush Class

A class encapsulating a GDI+ linear gradient.

Syntax

Namespace: FlexCel.Draw

public class TGdipUILinearGradientBrush: TUILinearGradientBrush, IGdipUIBrush

Constructors

Name Description
TGdipUILinear​Gradient​Brush Creates a new UILinearGradient​Brush which encapsulates an existing GDI+ LinearGradient​Brush. 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
Handle Brush encapsulated by this instance.
InterpolationColors Colors that define the gradient.
Rectangle Rectangle that defines the gradient.
TransformElements Transform matrix.