[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'FPCanvas' (#fcl)

TFPCustomCanvas.Line

Draw a Line between the first and second points

Declaration

Source position: line 0

public procedure TFPCustomCanvas.Line(

  x1: Integer;

  y1: Integer;

  x2: Integer;

  y2: Integer

);

procedure TFPCustomCanvas.Line(

  const p1: TPoint;

  const p2: TPoint

);

procedure TFPCustomCanvas.Line(

  const points: TRect

);

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