BCGSoft.Shared Namespace > DrawManager Class > FillGradient Method : FillGradient(Rectangle,Color,Color,Boolean) Method |
Specifies a rectangular area to fill.
Specifies the color to start.
Specifies the color to finish.
TRUE - horizontal gradient, FALSE - vertical gradient.
'Declaration Public Overloads Sub FillGradient( _ ByVal rect As Rectangle, _ ByVal colorStart As Color, _ ByVal colorFinish As Color, _ ByVal bHorz As Boolean _ )
'Usage Dim instance As DrawManager Dim rect As Rectangle Dim colorStart As Color Dim colorFinish As Color Dim bHorz As Boolean instance.FillGradient(rect, colorStart, colorFinish, bHorz)
public void FillGradient( Rectangle rect, Color colorStart, Color colorFinish, bool bHorz )
public: void FillGradient( Rectangle rect, Color colorStart, Color colorFinish, bool bHorz )
public: void FillGradient( Rectangle rect, Color colorStart, Color colorFinish, bool bHorz )
Specifies a rectangular area to fill.
Specifies the color to start.
Specifies the color to finish.
TRUE - horizontal gradient, FALSE - vertical gradient.
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