VncSharp

EncodedRectangle.FillRectangle Method (Rectangle, Int32)

Fills the given Rectangle with a solid colour (i.e., all pixels will have the same value--colour).

[Visual Basic]
Overloads Protected Sub FillRectangle( _
   ByVal rect As Rectangle, _
   ByVal colour As Integer _
)
[C#]
protected void FillRectangle(
   Rectangle rect,
   int colour
);

Parameters

rect
The rectangle to be filled.
colour
The colour to use when filling the rectangle.

See Also

EncodedRectangle Class | VncSharp.Encodings Namespace | EncodedRectangle.FillRectangle Overload List