GoDiagram Win Reference
FillMiddleGradient(Color,Color,Int32) Method

a Color from which the gradient start and end colors are derived
the Color at the middle of the gradient
one of four GoObject spots: GoObject.MiddleTop, GoObject.MiddleLeft, GoObject.TopLeft, GoObject.TopRight, from which to start the gradient, towards the opposite spot
Set the Brush to be a linear gradient starting with a very light version of the color color, having the middle be the color mid color, and ending with the starting color.
Syntax
'Declaration
 
Public Overloads Sub FillMiddleGradient( _
   ByVal color As Color, _
   ByVal mid As Color, _
   ByVal spot As Integer _
) 
public void FillMiddleGradient( 
   Color color,
   Color mid,
   int spot
)

Parameters

color
a Color from which the gradient start and end colors are derived
mid
the Color at the middle of the gradient
spot
one of four GoObject spots: GoObject.MiddleTop, GoObject.MiddleLeft, GoObject.TopLeft, GoObject.TopRight, from which to start the gradient, towards the opposite spot
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