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

TCanvas.Arc

Use Arc to draw an elliptically curved line with the current Pen

Declaration

Source position: line 0

public procedure TCanvas.Arc(

  ALeft: Integer;

  ATop: Integer;

  ARight: Integer;

  ABottom: Integer;

  Angle16Deg: Integer;

  Angle16DegLength: Integer

); virtual;

procedure TCanvas.Arc(

  ALeft: Integer;

  ATop: Integer;

  ARight: Integer;

  ABottom: Integer;

  SX: Integer;

  SY: Integer;

  EX: Integer;

  EY: Integer

); virtual;

Description

Method: TCanvas.Arc
Params: ALeft, ATop, ARight, ABottom, angle1, angle2
Returns: Nothing

Use Arc to draw an elliptically curved line with the current Pen.
The angles angle1 and angle2 are 1/16th of a degree.
For example, a full circle equals 5760 (16*360).
Positive values of Angle and AngleLength mean counter-clockwise while negative values mean clockwise direction.
Zero degrees is at the 3 o'clock position.

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