4D v16SVG_ADD_POINT |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16
SVG_ADD_POINT
|
SVG_ADD_POINT ( parentSVGObject ; x ; y {; x2 ; y2 ; ... ; xN ; yN} ) | ||||||||
Parameter | Type | Description | ||||||
parentSVGObject | SVG_Ref |
![]() |
Reference of parent element | |||||
x | Longint |
![]() |
Coordinate on X axis of new point(s) | |||||
y | Longint |
![]() |
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.
See the examples for the SVG_New_polyline command.
Product: 4D
Theme: Drawing
Number:
65960
Created: Composant 4D SVG v11.3
4D SVG Component ( 4D v16)