Nevron Open Vision Documentation
Nevron.Nov.Diagram.Themes Namespace / NThemeStroke Class / NThemeStroke Constructor / NThemeStroke Constructor(Double,ENThemeColorName,ENLineCap)
A dynamic theme color name.
The start and end line cap.


In This Topic
    NThemeStroke Constructor(Double,ENThemeColorName,ENLineCap)
    In This Topic
    Creates a stroke with the given theme color.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal width As System.Double, _
       ByVal colorName As ENThemeColorName, _
       ByVal cap As ENLineCap _
    )
    'Usage
     
    
    Dim width As System.Double
    Dim colorName As ENThemeColorName
    Dim cap As ENLineCap
     
    Dim instance As New NThemeStroke(width, colorName, cap)
    public NThemeStroke( 
       System.double width,
       ENThemeColorName colorName,
       ENLineCap cap
    )

    Parameters

    width
    colorName
    A dynamic theme color name.
    cap
    The start and end line cap.
    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