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

    Parameters

    color
    a Color from which the gradient start and end colors are derived
    mid
    the Color at the middle 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