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

# TCanvas.Chord

Draw a filled chord shape starting and finishing at the specified angular positions on the circumference.

## Declaration

Source position: graphics.pp line 1108

`public procedure TCanvas.Chord(`
`x1: Integer;`
`y1: Integer;`
`x2: Integer;`
`y2: Integer;`
`Angle16Deg: Integer;`
`Angle16DegLength: Integer`
`); virtual; procedure TCanvas.Chord(`
`x1: Integer;`
`y1: Integer;`
`x2: Integer;`
`y2: Integer;`
`SX: Integer;`
`SY: Integer;`
`EX: Integer;`
`EY: Integer`
`); virtual;`

## Description

Use Chord to draw a filled Chord shape on the canvas.

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.

Alternatively the starting and ending points may be specified as radial points (sx, sy, ex, ey).