4D v16

SVG_ADD_POINT

Home

 
4D v16
SVG_ADD_POINT

SVG_ADD_POINT 


 

SVG_ADD_POINT ( parentSVGObject ; x ; y {; x2 ; y2 ; ... ; xN ; yN} ) 
Parameter Type   Description
parentSVGObject  SVG_Ref in Reference of parent element
Longint in Coordinate on X axis of new point(s)
Longint in Coordinate onY xis of new point(s)

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_polyline command.



See also 

SVG_New_path
SVG_New_polygon
SVG_New_polyline

 
PROPERTIES 

Product: 4D
Theme: Drawing
Number: 65960

 
HISTORY 

Created: Composant 4D SVG v11.3

 
ARTICLE USAGE

4D SVG Component ( 4D v16)