RenderContextBase.SetPointSize Method

Sets the point size and enables (or disables) the thick points rendering.
Public Function SetPointSize( _ 
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.
public float SetPointSize( 
float size
bool setShader = true, 
bool force = false 
)
This language is not supported or no code example is available.

Parameters

size
float

The size (thickness) of the point in pixels

setShader
bool

If true, calls EnableThickPoints 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

In this article

Definition