GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoShape Class / FillMiddleGradient Method / FillMiddleGradient(Color,Int32) Method
a Color from which the gradient colors are derived
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
    FillMiddleGradient(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 the starting color.
    Syntax
    public void FillMiddleGradient( 
       Color color,
       int spot
    )

    Parameters

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