Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / GradientSelectionRenderer Class / GradientSelectionRenderer Constructor / GradientSelectionRenderer Constructor(Color,Color,LinearGradientMode,Int32)
Initial color in the gradient
Second color at the other end of the gradient
Gradient mode
Amount of opacity (opposite of transparency)


In This Topic
    GradientSelectionRenderer Constructor(Color,Color,LinearGradientMode,Int32)
    In This Topic
    Creates a new gradient selection renderer.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal color1 As Color, _
       ByVal color2 As Color, _
       ByVal mode As LinearGradientMode, _
       ByVal opacity As Integer _
    )
    'Usage
     
    
    Dim color1 As Color
    Dim color2 As Color
    Dim mode As LinearGradientMode
    Dim opacity As Integer
     
    Dim instance As New GradientSelectionRenderer(color1, color2, mode, opacity)
    public GradientSelectionRenderer( 
       Color color1,
       Color color2,
       LinearGradientMode mode,
       int opacity
    )

    Parameters

    color1
    Initial color in the gradient
    color2
    Second color at the other end of the gradient
    mode
    Gradient mode
    opacity
    Amount of opacity (opposite of transparency)
    See Also