SVG_ADD_POINT

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

version 11.3


SVG_ADD_POINT (parentSVGObject; x; y{; x2; y2; ...; xN; yN})

ParameterTypeDescription
parentSVGObjectSVG_RefReference of parent element
xNumberCoordinate on X axis of new point(s)
yNumberCoordinate onY xis of new point(s)

Description

The SVG_ADD_POINT command adds one or more segments to the path referenced by parentSVGObject. The path may be of the 'path', 'polyline' or 'polygon' type. If parentSVGObject is not a path reference of this type, an error is generated.

If several pairs of coordinates are passed, the different points will be added successively. In this case, if the last pair of coordinates is incomplete (missing y), it will be ignored.

Example

See the examples for the SVG_New_path command.

See Also

SVG_New_path, SVG_New_polygon, SVG_New_polyline.


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