'Declaration
Public Overloads Sub FillRectangle( _ ByVal startColor As Color, _ ByVal endColor As Color, _ ByVal rectangle As Rectangle, _ ByVal verticalDirection As Boolean _ )
public void FillRectangle( Color startColor, Color endColor, Rectangle rectangle, bool verticalDirection )
Parameters
- startColor
- System.Drawing.Color structure that represents the start color of gradient.
- endColor
- System.Drawing.Color structure that represents the end color of gradient.
- rectangle
- System.Drawing.Rectangle structure that represents the rectangle to fill.
- verticalDirection
- A bool indicates the fill direction. false is horizontal direction. true is vertical direction.