[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Draws a filled arc shape
Source position: fpg_base.pas line 398
public procedure TfpgCanvasBase.FillArc( |
x: TfpgCoord; |
y: TfpgCoord; |
w: TfpgCoord; |
h: TfpgCoord; |
a1: Double; |
a2: Double |
); |
Draws a filled arc shape. It uses the TfpgCanvas.Color value to draw and fill the arc.
|
Draws an outline arc shape |
{ This will draw a red filled arc, starting at the 6 o'clock position, and drawing 45 degrees of the arc, ending at the half-past-four position. } procedure TMainForm.FormPaint; // the form's OnPaint event handler. begin Canvas.Color := clRed; Canvas.FillArc(5, 5, 100, 100, 270, 45); end;