cubic_bezier_to Methode
cubic_bezier_to(self, ctr_x1, ctr_y1, ctr_x2, ctr_y2, end_x, end_y)
Fügt der aktuellen Figur eine kubische Bézierkurve hinzu. Der Startpunkt ist der Endpunkt der aktuellen Figur.
def cubic_bezier_to(self, ctr_x1, ctr_y1, ctr_x2, ctr_y2, end_x, end_y):
...
| Parameter | Typ | Beschreibung |
|---|---|---|
| ctr_x1 | float | Die x-Koordinate des ersten Kontrollpunkts für die Kurve (Einheit: Pixel). |
| ctr_y1 | float | Die Y-Koordinate des ersten Kontrollpunkts für die Kurve (Einheit: Pixel). |
| ctr_x2 | float | Die x-Koordinate des zweiten Kontrollpunkts für die Kurve (Einheit: Pixel). |
| ctr_y2 | float | Die Y-Koordinate des zweiten Kontrollpunkts für die Kurve (Einheit: Pixel). |
| end_x | float | Die x-Koordinate des Endpunkts der Kurve (Einheit: Pixel). |
| end_y | float | Die y-Koordinate des Endpunkts der Kurve (Einheit: Pixel). |
Siehe auch
- Modul
aspose.cells.drawing - Klasse
ShapePath