Fills the rectangle with a specified Appearance.

Namespace: Dapfor.Net.Ui
Assembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)

Syntax

C#
public void Fill(
	Appearance appearance,
	Rectangle gradientBounds,
	Rectangle drawBounds,
	Graphics graphics
)
Visual Basic
Public Sub Fill ( 
	appearance As Appearance,
	gradientBounds As Rectangle,
	drawBounds As Rectangle,
	graphics As Graphics
)
Visual C++
public:
virtual void Fill(
	Appearance^ appearance, 
	Rectangle gradientBounds, 
	Rectangle drawBounds, 
	Graphics^ graphics
) sealed
F#
abstract Fill : 
        appearance : Appearance * 
        gradientBounds : Rectangle * 
        drawBounds : Rectangle * 
        graphics : Graphics -> unit 
override Fill : 
        appearance : Appearance * 
        gradientBounds : Rectangle * 
        drawBounds : Rectangle * 
        graphics : Graphics -> unit 

Parameters

appearance
Type: Dapfor.Net.Ui..::..Appearance
The appearance.
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(Appearance, Rectangle, Rectangle, Graphics)

See Also