Sign in Join
FPDoc Onlineexperiment

TLazCanvas.DoRectangle procedure

Member of TLazCanvasprotectedIn unit LazCanvas

Adjusts the fcl-image coordinate system to be compatible with coordinates used in TCanvas.

Declaration

pascal
procedure DoRectangle(const Bounds: TRect); override

Arguments

Bounds

TRect with the bounds for the rectangular area.

Description

Adjusts the values in Bounds to use the coordinate system in TCanvas, and draws borders using the style and/or pattern in the Pen for the canvas.

DoRectangleFill is used to optimize and fill a rectangle area.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.