Version

ChartGradientFill Constructor

Creates a new ChartGradientFill instance.
Syntax
'Declaration
 
Public Function New( _
   ByVal gradientType As GradientType, _
   ByVal stops As IEnumerable(Of GradientStop), _
   Optional ByVal angle As Double _
)
public ChartGradientFill( 
   GradientType gradientType,
   IEnumerable<GradientStop> stops,
   double angle
)

Parameters

gradientType
A GradientType constant which defines the type of gradient, i.e., linear, circular, rectangular, etc.
stops
An enumerable list of GradientStop instances which define the location and color of each transition point in the gradient.
angle
The angle defining the path along which the gradient extends; applies only to linear gradients. This parameter is optional and defaults to 0.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also