GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoShape Class / FillShadedGradient Method / FillShadedGradient(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
    FillShadedGradient(Color,Int32) Method
    In This Topic
    Set the Brush to be a linear gradient starting with a very light version of the color color, having the middle with a color lighter than color, and ending with a darker color than the color.
    Syntax
    public void FillShadedGradient( 
       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