DrawArc
Gráficos vectoriales
Descripción
Dibuja un arco circular en la página seleccionada El arco se dibuja en sentido horario desde StartAngle hasta EndAngle
Sintaxis
Delphi
Function TPDFlib.DrawArc(XPos, YPos, Radius, StartAngle, EndAngle: Double; Pie, DrawOptions: Integer): Integer;
ActiveX
Function PDFlib::DrawArc(XPos As Double, YPos As Double, Radius As Double, StartAngle As Double, EndAngle As Double, Pie As Long, DrawOptions As Long) As Long
DLL
int DLDrawArc(int InstanceID, double XPos, double YPos, double Radius, double StartAngle, double EndAngle, int Pie, int DrawOptions);
Parámetros
| XPos | Coordenada horizontal del centro del arco |
|---|---|
| YPos | Coordenada vertical del centro del arco |
| Radius | Radio del arco Ángulo desde el que se comienza a dibujar |
| StartAngle | |
| EndAngle | Ángulo en el que finalizará el dibujo |
| Pie | Dibujar los brazos del arco: 0 = No 1 = Sí |
| DrawOptions | 0 = Contorno 1 = Relleno 2 = Relleno y contorno 3 = Cerrar, rellenar y contornear (si Pie = 1) |