4D v14SVG_New_polyline |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14
SVG_New_polyline
SVG_New_polyline
The SVG_New_polyline command creates a new open broken line in the SVG container designated by parentSVGObject and returns its reference. If parentSVGObject is not a valid reference, an error is generated. The optional points parameter can be used to pass the path points of the line as expected by the SVG standard. If this parameter is omitted or empty, the points may be set with the SVG_ADD_POINT command. The optional foregroundColor and backgroundColor parameters contain, respectively, the name of the line color and of the background color. (For more information about colors, please refer to the commands of the Colors and Gradients theme). The optional strokeWidth parameter contains the size of the pen expressed in pixels. Its default value is 1. Draw two triangles: $polyline:=SVG_New_polyline($svg;"10,10 200,100 10,100 10,10";"blue";"blue:50") |
PROPERTIES
Product: 4D
HISTORY
Modified: Composant 4D SVG v11.4 SEE ALSO ARTICLE USAGE
4D SVG Component ( 4D v13) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||