NevronOpenVision
Nevron.Nov.Diagram.Themes Namespace / NThemeGradientStop Class / NThemeGradientStop Constructor / NThemeGradientStop Constructor(Single,NColor)
The position of the gradient stop. Must be in the closed range from 0 to 1.
The color of the gradient stop.
NThemeGradientStop Constructor(Single,NColor)
Creates a theme gradient stop with a static theme color.
Syntax
public NThemeGradientStop( 
   System.float position,
   NColor color
)

Parameters

position
The position of the gradient stop. Must be in the closed range from 0 to 1.
color
The color of the gradient stop.
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