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


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

    Parameters

    width
    Stroke width (in DIP).
    color
    Stroke color.
    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