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

    Parameters

    start
    the Color at the starting spot
    mid
    the Color in the middle of the gradient
    end
    the Color at the ending spot
    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