4D v16SVG_New_polyline_by_arrays |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16
SVG_New_polyline_by_arrays
SVG_New_polyline_by_arrays
The SVG_New_polyline_by_arrays command draws a broken line composed of straight segments connected together in the SVG container designated by parentSVGObject and returns its reference. If parentSVGObject is not an SVG document, an error is generated. Usually, 'polyline' elements design open forms but they can be used for closed forms as well. In this case the last point must be set as equal to the first. All the coordinate values are in the user coordinate system. 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 a triangle (default border color and line thickness): ARRAY LONGINT($tX;0) Draw a line diagram: ARRAY LONGINT($tX;0)
See also
|
PROPERTIES
Product: 4D
HISTORY
Modified: Composant 4D SVG v11.4 ARTICLE USAGE
4D SVG Component ( 4D v16) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||