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

TCanvas.Line

Draws a Line from X1, Y1 to X2, Y2

Declaration

Source position: line 0

public procedure TCanvas.Line(

  X1: Integer;

  Y1: Integer;

  X2: Integer;

  Y2: Integer

); virtual;

procedure TCanvas.Line(

  const p1: TPoint;

  const p2: TPoint

);

procedure TCanvas.Line(

  const Points: TRect

);

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