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

TCanvas.RadialPie

RadialPie uses Pie to draw a filled pie-shaped wedge on the canvas

Declaration

Source position: graphics.pp line 1113

public procedure TCanvas.RadialPie(

  x1: Integer;

  y1: Integer;

  x2: Integer;

  y2: Integer;

  StartAngle16Deg: Integer;

  Angle16DegLength: Integer

); virtual;

Description

Method: TCanvas.RadialPie
Params: x1, y1, x2, y2, StartAngle16Deg, EndAngle16Deg: Integer
Returns: Nothing

Uses Pie to draw a filled pie-shaped wedge on the canvas.
The angles StartAngle16Deg and EndAngle16Deg 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

See also

TCanvas.Pie

  

Pie draws a filled Pie-shaped wedge on the canvas

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