GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoShape Class / FillSimpleGradient Method / FillSimpleGradient(Color,Int32) Method
a Color from which the gradient colors are derived, keeping the same hue
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,Int32) Method
    In This Topic
    Set the Brush to be a simple linear gradient using the given color.
    Syntax
    public void FillSimpleGradient( 
       Color color,
       int spot
    )

    Parameters

    color
    a Color from which the gradient colors are derived, keeping the same hue
    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