GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoShape Class / FillEllipseGradient Method / FillEllipseGradient(Color) Method
the Color drawn inside the edges of the rectangular bounds
In This Topic
    FillEllipseGradient(Color) Method
    In This Topic
    Set the Brush to be a gradient occupying this shape's Bounds, with the color color along the four edges of the rectangle, surrounding a very light version of that color.
    Syntax
    public void FillEllipseGradient( 
       Color color
    )

    Parameters

    color
    the Color drawn inside the edges of the rectangular bounds
    Remarks
    The Brush is a PathGradientBrush using the rectangular bounds of this shape, clipped by the actual shape. Hence you may not see the color very much, except where the shape is close to the bounds. This use of a PathGradientBrush does not suffer from the effects of GDI+ filling concave or multi-figure shapes. You can set the BrushPoint property to change where the center color is centered; the default is new PointF(0.5f, 0.5f), the middle of the shape. You can set the BrushFocusScales property to change the size of the center color area; the default is new SizeF(0, 0).
    See Also