Table of Contents

TGdipUIHatchBrush Class

A GDI+ Hatch brush.

Syntax

Namespace: FlexCel.Draw

public class TGdipUIHatchBrush: TUIHatchBrush, IGdipUIBrush

Constructors

Name Description
TGdipUIHatchBrush Creates a new UIHatchBrush which encapsulates an existing GDI+ HatchBrush. 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.
GetHatchStyle Overloaded
GetHatchStyle(TUIHatchStyle)
GetHatchStyle(HatchStyle)

Properties

Name Description
BackgroundColor Background color for the pattern.
ForegroundColor Foreground color for the pattern.
Handle Native brush.
HatchStyle Hatch style for the pattern.