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

    Parameters

    start
    a Color for the edges
    center
    a Color for the rest of the area
    spot
    one of four GoObject spots: GoObject.MiddleTop, GoObject.MiddleLeft, GoObject.TopLeft, GoObject.TopRight, from which to start the gradient, towards the opposite spot
    Remarks
    Only filled areas inside the shape near the spot or near the opposite spot will get the starting color. You can change the BrushMidFraction property to adjust the thickness of the start color edging.
    See Also