version 11.3
SVG_SET_STROKE_WIDTH (svgObject; strokeWidth)
| Parameter | Type | Description | |
| svgObject | SVG_Ref | Reference of SVG element | |
| strokeWidth | Longint | Line thickness |
Description
The SVG_SET_STROKE_WIDTH command can be used to set the thickness of lines for the SVG object having the svgObject reference. If this attribute already exists, its value is replaced by the value passed in the parameter.
The value passed in strokeWidth is expected in the user coordinate system.
Example
$svg :=SVG_New SVG_SET_STROKE_WIDTH (SVG_New_rect ($svg; 10; 10; 200; 200; 0; 0; "black"; "white"; 2); 10)
See Also