4D v14

SVG_PATH_QCURVE

Home

 
4D v14
SVG_PATH_QCURVE

SVG_PATH_QCURVE 


 

SVG_PATH_QCURVE ( parentSVGObject {; controlX ; controlY} ; x ; y ) 
Parameter Type   Description
parentSVGObject  SVG_Ref in Reference of parent element
controlX  Longint in Coordinate on X axis of control point
controlY  Longint in Coordinate on Y axis of control point
Longint in Coordinate on X axis of destination point
Longint in Coordinate on Y axis of destination point

The SVG_PATH_CURVE command adds a quadratic Bezier curve from the current point to the point of the coordinates (x, y) to the line referenced by parentSVGObject. If parentSVGObject is not a path reference (‘path’ element), an error is generated.

The optional controlX and controlY parameters can be used to specify the position of the control point at the beginning of the curve. If they are omitted, the first control point is supposed to be a reflection of the second control point of the previous command with respect to the current point.

Example  

See the examples of the SVG_New_path command.

 
PROPERTIES 

Product: 4D
Theme: Drawing
Number: 65962

 
HISTORY 

Created: Composant 4D SVG v11.3

 
SEE ALSO 

SVG_PATH_CURVE

 
ARTICLE USAGE

4D SVG Component ( 4D v13)
4D SVG Component ( 4D v12)
4D SVG Component ( Composant 4D SVG v11.4)
4D SVG Component ( 4D v14 R2)
4D SVG Component ( 4D v14)
4D SVG Component ( 4D v14 R3)
4D SVG Component ( 4D v14 R4)