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

    Parameters

    start
    the Color at the starting spot
    mid
    the Color from the middle to 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