Spread Windows Forms 15.0
FarPoint.Win.Chart Assembly / FarPoint.Win.Chart Namespace / GradientFill Class / GradientFill Constructor / GradientFill Constructor(Color,Color,GradientStyle)
Start color of the gradient
End color of the gradient
Style of gradient


In This Topic
    GradientFill Constructor(Color,Color,GradientStyle)
    In This Topic
    Creates a new gradient fill with the specified colors and the specified style of gradient.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal color0 As Color, _
       ByVal color1 As Color, _
       ByVal style As GradientStyle _
    )
    'Usage
     
    
    Dim color0 As Color
    Dim color1 As Color
    Dim style As GradientStyle
     
    Dim instance As New GradientFill(color0, color1, style)
    public GradientFill( 
       Color color0,
       Color color1,
       GradientStyle style
    )

    Parameters

    color0
    Start color of the gradient
    color1
    End color of the gradient
    style
    Style of gradient
    See Also