Dies ist die alte 4D Dokumentations-Website. Die neue und aktualisierte Dokumentation finden Sie unter developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v19
SVG_PATH_CURVE
|
SVG_PATH_CURVE ( parentSVGObject {; controlStartX ; controlStartY} ; controlEndX ; controlEndY ; x ; y ) | ||||||||
Parameter | Typ | Beschreibung | ||||||
parentSVGObject | SVG_Ref |
![]() |
Reference of parent element | |||||
controlStartX | Lange Ganzzahl |
![]() |
Coordinate on X axis of control point | |||||
controlStartY | Lange Ganzzahl |
![]() |
Coordinate on Y axis of control point | |||||
controlEndX | Lange Ganzzahl |
![]() |
Coordinate on X axis of control point | |||||
controlEndY | Lange Ganzzahl |
![]() |
Coordinate on Y axis of control point | |||||
x | Lange Ganzzahl |
![]() |
Coordinate on X axis of destination point | |||||
y | Lange Ganzzahl |
![]() |
Coordinate on Y axis of destination point | |||||
The SVG_PATH_CURVE command adds a cubic Bezier curve to the path referenced by parentSVGObject starting from the current point to the point whose coordinates are passed (x, y). If parentSVGObject is not a path reference (‘path’ element), an error is generated.
The optional controlStartX and controlStartY parameters can be used to specify the position of the control point at the start of the curve. If they are omitted, the first control point is supposed to be the reflection of the second control point of the previous command with respect to the current point.
The controlEndX and controlEndY parameters are used to specify the position of the control point at the end of the curve.
See the examples for the SVG_New_path command.
Produkt: 4D
Thema: Drawing
Nummer:
65963
Erstellt: Composant 4D SVG v11.3
4D SVG ( 4D v19)