GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoShape Class / FillSimpleGradient Method / FillSimpleGradient(Color,Color,Int32) Method
the Color at the starting spot
the Color at the ending spot
one of four GoObject spots: GoObject.MiddleTop, GoObject.MiddleLeft, GoObject.TopLeft, GoObject.TopRight, from which to start the gradient, towards the opposite spot
In This Topic
    FillSimpleGradient(Color,Color,Int32) Method
    In This Topic
    Set the Brush to be a simple linear gradient starting with the start color and ending with the end color.
    Syntax
    public void FillSimpleGradient( 
       Color start,
       Color end,
       int spot
    )

    Parameters

    start
    the Color at the starting spot
    end
    the Color at the ending spot
    spot
    one of four GoObject spots: GoObject.MiddleTop, GoObject.MiddleLeft, GoObject.TopLeft, GoObject.TopRight, from which to start the gradient, towards the opposite spot
    See Also