GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoShape Class / FillShapeHighlight Method / FillShapeHighlight(Color,Color) Method
the Color drawn inside the edges of the shape
the Color filling the center of the shape
In This Topic
    FillShapeHighlight(Color,Color) Method
    In This Topic
    Set the Brush to be a path shaped gradient that is mostly the start color, with a "highlight" given by the center color.
    Syntax
    public void FillShapeHighlight( 
       Color start,
       Color center
    )

    Parameters

    start
    the Color drawn inside the edges of the shape
    center
    the Color filling the center of the shape
    Remarks
    Path gradients only work well for convex shapes having only a single figure. You can set the BrushPoint property to change where the center color is centered; the default is new PointF(0.15f, 0.15f), near the top-left corner. You can set the BrushFocusScales property to change the size of the center color area; the default is new SizeF(0.1f, 0.1f).
    See Also