TUIHatchBrush.CreateNew Method
This method will return the appropriate Brush depending in the Graphics framework you are using to render images.
Syntax
Unit: FlexCel.Core
class function TUIHatchBrush.CreateNew(const hatchStyle: TUIHatchStyle; const ColorFg: TUIColor; const ColorBg: TUIColor): TUIBrush; static;
Parameters
| <-> |
Parameter |
Type |
Description |
| const |
hatchStyle |
TUIHatchStyle |
Hatch style for the pattern. |
| const |
ColorFg |
TUIColor |
Foreground color for the pattern. |
| const |
ColorBg |
TUIColor |
Background color for the pattern. |
See also