Spread ASP.NET 17
FarPoint.Web.Chart Assembly / FarPoint.Web.Chart Namespace / GradientFill Class / GradientFill Constructor / GradientFill Constructor(Color,Color)
Start color of the gradient
End color of the gradient
Example


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

    Parameters

    color0
    Start color of the gradient
    color1
    End color of the gradient
    Example
    This example creates a gradient fill.
    See Also