4D v16

SVG_PATH_LINE_TO

Home

 
4D v16
SVG_PATH_LINE_TO

SVG_PATH_LINE_TO 


 

SVG_PATH_LINE_TO ( parentSVGObject ; x {; y}{; x2 ; y2 ; ... ; xN ; yN} ) 
Parameter Typ   Beschreibung
parentSVGObject  SVG_Ref in Reference of parent element
Lange Ganzzahl in Coordinate on X axis of new point(s)
Lange Ganzzahl in Coordinate on Y axis of new point(s)

The SVG_PATH_LINE_TO command adds one or more straight segments to the path referred by parentSVGObject. If parentSVGObject is not a path reference (‘path’ element), an error is generated.

The x and y parameters can be used to specify the start position of the path in the SVG container.

  • If only the x parameter is provided, the line will be drawn horizontally from the current point (xc, yc) to the point (x, yc).
  • If both x and y are passed, a line will be drawn from the current point (xc, yc) to the point (x, y).
  • 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



Siehe auch 

SVG_New_path

 
EIGENSCHAFTEN 

Produkt: 4D
Thema: Drawing
Nummer: 65964

 
GESCHICHTE 

Erstellt: Composant 4D SVG v11.3

 
ARTIKELVERWENDUNG

4D SVG ( 4D v16)