SVG_SET_STROKE_WIDTH

4D - Documentation   Français   English   German   4D SVG Component, Command Theme List   4D SVG Component, Index   Back   Previous   Next

version 11.3


SVG_SET_STROKE_WIDTH (svgObject; strokeWidth)

ParameterTypeDescription
svgObjectSVG_RefReference of SVG element
strokeWidthLongintLine 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

SVG_SET_STROKE_BRUSH.


4D - Documentation   Français   English   German   4D SVG Component, Command Theme List   4D SVG Component, Index   Back   Previous   Next