GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoShape Class / FillSingleEdge Method / FillSingleEdge(Color,Color,Int32) Method
a Color for the edge
a Color for the rest of the area
one of four GoObject spots: GoObject.MiddleTop, GoObject.MiddleLeft, GoObject.MiddleRight, GoObject.MiddleBottom, that shows the start color
In This Topic
    FillSingleEdge(Color,Color,Int32) Method
    In This Topic
    Set the Brush to be a linear gradient starting with the start color, having the center being the center color.
    Syntax
    public void FillSingleEdge( 
       Color start,
       Color center,
       int spot
    )

    Parameters

    start
    a Color for the edge
    center
    a Color for the rest of the area
    spot
    one of four GoObject spots: GoObject.MiddleTop, GoObject.MiddleLeft, GoObject.MiddleRight, GoObject.MiddleBottom, that shows the start color
    Remarks
    Only filled areas inside the shape near the spot will get the starting color. You can change the BrushMidFraction property to adjust the thickness of the start color edging.
    See Also