Declaration
procedure FillRect(const Rect: TRect);
Description
Fill an area with the current
current brush.
GDI+ Method:
GdipFillRectangleAlso see:
GradientFillRectNote: The Rect.Right and Rect.Bottom points are excluded from the painting
// Highlight an area of a bitmap
iec := TIECanvas.Create( Bitmap.Canvas, false );
iec.Brush.Color := clRed;
iec.Brush.Style := bsSolid;
iec.Brush.Transparency := 125;
iec.FillRect( Rect( 650, 680, 850, 780 ));
iec.Free();