Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NStroke Class / NStroke Constructor / NStroke Constructor(Double,NColor,NDashPattern)
Stroke width (in DIP).
Stroke color.
Custom dash pattern


In This Topic
    NStroke Constructor(Double,NColor,NDashPattern)
    In This Topic
    Creates a new NStroke instance with the specified width, color and a custom dash pattern.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal width As System.Double, _
       ByVal color As NColor, _
       ByVal customDashPattern As NDashPattern _
    )
    'Usage
     
    
    Dim width As System.Double
    Dim color As NColor
    Dim customDashPattern As NDashPattern
     
    Dim instance As New NStroke(width, color, customDashPattern)
    public NStroke( 
       System.double width,
       NColor color,
       NDashPattern customDashPattern
    )

    Parameters

    width
    Stroke width (in DIP).
    color
    Stroke color.
    customDashPattern
    Custom dash pattern
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also