DrawEllipticChord
Vektorgrafik
Beschreibung
Zeichnet einen elliptischen Bogen und schließt ihn mit einer geraden Sehne zwischen dem Bogenend- und dem Bogenanfangspunkt
Syntax
Delphi
Function TPDFlib.DrawEllipticChord(XPos, YPos, Width, Height, StartAngle, EndAngle: Double; DrawOptions: Integer): Integer;
ActiveX
Function PDFlib::DrawEllipticChord(XPos As Double, YPos As Double, Width As Double, Height As Double, StartAngle As Double, EndAngle As Double, DrawOptions As Long) As Long
DLL
int DLDrawEllipticChord(int InstanceID, double XPos, double YPos, double Width, double Height, double StartAngle, double EndAngle, int DrawOptions);
Parameter
| XPos | Die horizontale Koordinate des Ellipsenmittelpunkts |
|---|---|
| YPos | Die vertikale Koordinate des Ellipsenmittelpunkts |
| Width | Die Ellipsenbreite in der aktuellen Maßeinheit |
| Height | Die Ellipsenhöhe in der aktuellen Maßeinheit |
| StartAngle | Der Startwinkel in Grad |
| EndAngle | Der Endwinkel in Grad |
| DrawOptions | 0 = Kontur, 1 = Füllung, 2 = Füllung und Kontur |
Rückgabewerte
| 0 | Die Winkelspanne oder Zeichenoption war ungültig |
|---|---|
| 1 | Der elliptische Sehnenpfad wurde gezeichnet |
Anmerkungen
Verwenden Sie DrawEllipticPie, wenn die Form durch den Mittelpunkt der Ellipse geschlossen werden soll