Sign in Join
FPDoc Onlineexperiment

TCanvas.RadialPie procedure

Member of TCanvaspublicIn unit Graphics

RadialPie draws a filled pie-shaped wedge on the canvas with start and end points of the arc defined by a starting angle (StartAngle16Deg) and the arc length (Angle16DegLength).

Declaration

pascal
procedure RadialPie(x1: Integer; y1: Integer; x2: Integer; y2: Integer; 
 StartAngle16Deg: Integer; Angle16DegLength: Integer)
 ; virtual; reintroduce

Description

Use Pie to draw a filled pie-shaped wedge on the canvas.

The angles StartAngle16Deg and Angle16DegLength are given an 1/16th of a degree. For example, a full circle equals 5760 (16*360).

Positive values in StartAngle16Deg and Angle16DegLength mean counter-clockwise while negative values mean clockwise direction. Zero degrees is at the 3 o'clock position.

See also

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