Vcl.Direct2D.TDirect2DCanvas.AngleArc

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AngleArc(X, Y: Integer; Radius: Cardinal; StartAngle, SweepAngle: Single); override;

C++

virtual void __fastcall AngleArc(int X, int Y, unsigned Radius, float StartAngle, float SweepAngle);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Direct2D.pas
Vcl.Direct2D.hpp
Vcl.Direct2D TDirect2DCanvas

Description

Draws an arc on the image along the perimeter of the circle defined by the parameters.

Vcl.Direct2D.TDirect2DCanvas.AngleArc inherits from Vcl.Graphics.TCustomCanvas.AngleArc. All content below this line refers to Vcl.Graphics.TCustomCanvas.AngleArc.

Draws an arc on the image along the perimeter of the circle defined by the parameters.

Override AngleArc to draw using the current Pen.

The AngleArc method draws a line from the current position to the starting point of the arc and then a counterclockwise circular arc to the arc endpoint. The arc traverses the perimeter of a circle whose center lies at (X,Y) and whose radius is Radius. The arc is drawn following the perimeter of the circle, counterclockwise, from the StartAngle with a sweep angle of SweepAngle.

If the sweep angle is greater than 360 degrees, the entire circle is drawn and part of the arc is drawn multiple times.