Spread WinForms 15
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.DrawingSpace Namespace / GradientSection Class / GradientSection Constructor / GradientSection Constructor(Color,Int32,Int32)
Color
Amount of the gradient
Amount of alpha-blending (transparency)


In This Topic
GradientSection Constructor(Color,Int32,Int32)
In This Topic
Creates a new color gradient section with the specified parameters.
Syntax
'Declaration
 
Public Function New( _
   ByVal color As Color, _
   ByVal amount As Integer, _
   ByVal alphaBlend As Integer _
)
 
'Usage
 
Dim color As Color
Dim amount As Integer
Dim alphaBlend As Integer
 
Dim instance As New GradientSection(color, amount, alphaBlend)

Parameters

color
Color
amount
Amount of the gradient
alphaBlend
Amount of alpha-blending (transparency)
See Also