RenderContextBase.SetLineSize Method
Sets the line size and enables (or disables) the thick lines rendering.
Public Function SetLineSize( _
ByVal size As Single, _
Optional ByVal setShader As Boolean = true, _
Optional ByVal force As Boolean = false _
) As Single
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Parameters
-
size
-
float
The size (thickness) of the line in pixels
-
setShader
-
bool
If true, calls EnableThickLines to set the correct shader
-
force
-
bool
If true sets the size regardless of the current one, else sets it only if it's different from the current one.
Return Value
float
The previous value.
.NET Framework
Supported in: 4.8