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

the Color at the starting spot
the Color at the ending spot
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 simple linear gradient starting with the start color and ending with the end color.
Syntax
'Declaration
 
Public Overloads Sub FillSimpleGradient( _
   ByVal start As Color, _
   ByVal end As Color, _
   ByVal spot As Integer _
) 
public void FillSimpleGradient( 
   Color start,
   Color end,
   int spot
)

Parameters

start
the Color at the starting spot
end
the Color at the ending spot
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