[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Graphics' (#lcl)

TCanvas.FillRect

FillRect - draw a filled rectangle in the specified coordinate space, using the method for the current interface or widget set.

Declaration

Source position: graphics.pp line 1091

public procedure TCanvas.FillRect(

  const ARect: TRect

); virtual;

procedure TCanvas.FillRect(

  X1: Integer;

  Y1: Integer;

  X2: Integer;

  Y2: Integer

);

See also

FillRect

  

Fills a rectangle by using the specified brush.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.