Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NStroke Class / NStroke Constructor / NStroke Constructor(Double,NColor,ENDashStyle)
Stroke width (in DIP).
Stroke color.
Dash style. Must be different than Custom


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

    Parameters

    width
    Stroke width (in DIP).
    color
    Stroke color.
    dashStyle
    Dash style. Must be different than Custom
    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