GoDiagram Web Reference
FillShapeGradient(Color) Method

a Color that is the starting color of the gradient; the center color is a very light color of the same hue
Set the Brush to be a path shaped gradient with the color color surrounding a very light version of that color.
Syntax
'Declaration
 
Public Overloads Sub FillShapeGradient( _
   ByVal color As Color _
) 
public void FillShapeGradient( 
   Color color
)

Parameters

color
a Color that is the starting color of the gradient; the center color is a very light color of the same hue
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.
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

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback