ICanvas.AssignBrush
ICanvas

procedure AssignBrush(ABrush: Integer);

Type Library
TeeChartx

Description
The AssignBrush method copies the passed Brush properties into the Canvas brush, to fill graphical drawings using the specified brush color, pattern and image.

AssignBrush does additional tasks, like assigning the brush image ( if used ), and the background color parameter.

The BackColor parameter defines the background color used when the Brush Style property is not solid ( patterns, different than bsSolid ).

The foreground color is set to the Brush.Color property.