AddArcToPath
Vector graphics, Path definition and drawing, Form fields, Annotations and hotspot links
Description
Adds an arc to the current path.
The arc is drawn around a center point for a specified number of degrees either clockwise or anti-clockwise.
Syntax
Delphi
function TPDFlib.AddArcToPath(CenterX, CenterY, TotalAngle: Double): Integer;ActiveX
Function PDFlib::AddArcToPath(CenterX As Double, CenterY As Double, TotalAngle As Double) As LongDLL
int DLAddArcToPath(int InstanceID, double CenterX, double CenterY, double TotalAngle);Parameters
| CenterX | The horizontal co-ordinate of the center of the arc |
|---|---|
| CenterY | The vertical co-ordinate of the center of the arc |
| TotalAngle | The angular length of the arc. If this value is positive the arc will be drawn in a clockwise direction. A negative value will result in an arc drawn in an anti-clockwise direction. This value must be greater or less than 0. A value of 360 will result in a full circle being drawn. |