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

    Parameters

    start
    the Color at the starting spot
    color
    a Color used to generate the colors in the middle and at the end of the gradient
    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