SVG_PATH_QCURVE

4D - Documentation   Français   English   German   4D SVG Component, Command Theme List   4D SVG Component, Index   Back   Previous   Next

version 11.3


SVG_PATH_QCURVE (parentSVGObject{; controlX; controlY; }x; y)

ParameterTypeDescription
parentSVGObjectSVG_RefReference of parent element
controlXNumberCoordinate on X axis of control point
controlYNumberCoordinate on Y axis of control point
xNumberCoordinate on X axis of destination point
yNumberCoordinate on Y axis of destination point

Description

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.

See Also

SVG_PATH_CURVE.


4D - Documentation   Français   English   German   4D SVG Component, Command Theme List   4D SVG Component, Index   Back   Previous   Next