GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoShape Class / FillShapeGradient Method / FillShapeGradient(Color,Color) Method
the Color drawn inside the edges of the shape
the Color filling the center of the shape
In This Topic
    FillShapeGradient(Color,Color) Method
    In This Topic
    Set the Brush to be a path shaped gradient with the center color surrounded by the start color.
    Syntax
    public void FillShapeGradient( 
       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. Only filled areas inside the shape near the edges of the bounding rectangle will get the starting color.
    See Also