Fills the rectangle with a gradient color.
Namespace: Dapfor.Net.UiAssembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)
Syntax
C# |
---|
public void Fill(
Color color1,
Color color2,
GradientDirection direction,
Rectangle gradientBounds,
Rectangle drawBounds,
Graphics graphics
) |
Visual Basic |
---|
Public Sub Fill (
color1 As Color,
color2 As Color,
direction As GradientDirection,
gradientBounds As Rectangle,
drawBounds As Rectangle,
graphics As Graphics
) |
Visual C++ |
---|
public:
virtual void Fill(
Color color1,
Color color2,
GradientDirection direction,
Rectangle gradientBounds,
Rectangle drawBounds,
Graphics^ graphics
) sealed |
F# |
---|
abstract Fill :
color1 : Color *
color2 : Color *
direction : GradientDirection *
gradientBounds : Rectangle *
drawBounds : Rectangle *
graphics : Graphics -> unit
override Fill :
color1 : Color *
color2 : Color *
direction : GradientDirection *
gradientBounds : Rectangle *
drawBounds : Rectangle *
graphics : Graphics -> unit |
Parameters
- color1
- Type: System.Drawing..::..Color
The beginning gredient color.
- color2
- Type: System.Drawing..::..Color
The ending gradient color.
- direction
- Type: Dapfor.Net.Ui..::..GradientDirection
The gradient direction.
- gradientBounds
- Type: System.Drawing..::..Rectangle
Specifies the bounds of the linear gradient.
- drawBounds
- Type: System.Drawing..::..Rectangle
Specifies the rectangle to fill.
- graphics
- Type: System.Drawing..::..Graphics
The graphics.
Implements
IRender..::..Fill(Color, Color, GradientDirection, Rectangle, Rectangle, Graphics)See Also