GoDiagram Win Reference
FillEllipseGradient(Color) Method

the Color drawn inside the edges of the rectangular bounds
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
'Declaration
 
Public Overloads Sub FillEllipseGradient( _
   ByVal color As Color _
) 
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).
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoShape Class
GoShape Members
Overload List
Brush Property

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback