GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoShape Class / FillShapeFringe Method / FillShapeFringe(Color,Color) Method
a Color
a Color
In This Topic
    FillShapeFringe(Color,Color) Method
    In This Topic
    Set the Brush to be a path shaped gradient starting with the start color, with most of the center being the center color.
    Syntax
    public void FillShapeFringe( 
       Color start,
       Color center
    )

    Parameters

    start
    a Color
    center
    a Color
    Remarks
    Path gradients only work well for convex shapes having only a single figure. Only filled areas inside the shape near the edges of the bounding rectangle will get the starting color. You can change the BrushMidFraction property to adjust the thickness of the start color fringe. Its thickness is always proportional to the width and height of the shape.
    See Also