Table of Contents

Method FillRectangle

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

FillRectangle(Rectangle)

Fills the given rectangle by using the current brush.

public virtual void FillRectangle(Rectangle rect)

Parameters

rect Rectangle

The rectangle object to fill.

FillRectangle(int, int, int, int)

Fills the given rectangular area by using the current brush.

public virtual void FillRectangle(int x, int y, int width, int height)

Parameters

x int

X-coordinate of the upper-left corner of the rectangle.

y int

Y-coordinate of the upper-left corner of the rectangle.

width int

Width of the rectangle.

height int

Height of the rectangle.

FillRectangle(Color, Rectangle)

Fills the given rectangle by using specified color.

public virtual void FillRectangle(Color color, Rectangle rect)

Parameters

color Color

Specified color to fill rectangle.

rect Rectangle

The rectangle object to fill.

FillRectangle(Color, int, int, int, int)

Fills the given rectangle by using specified color.

public virtual void FillRectangle(Color color, int x, int y, int width, int height)

Parameters

color Color

Specified color to fill rectangle.

x int

X-coordinate of the upper-left corner of the rectangle.

y int

Y-coordinate of the upper-left corner of the rectangle.

width int

Width of the rectangle.

height int

Height of the rectangle.