Table of Contents

Method FillRectangle

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

FillRectangle(Brush, RectD)

Fills the interior of a rectangle specified by a RectD structure. Rectangle is specified in device-independent units.

public abstract void FillRectangle(Brush brush, RectD rectangle)

Parameters

brush Brush

Brush that determines the characteristics of the fill.

rectangle RectD

RectD structure that represents the rectangle to fill.

Remarks

This method fills the interior of the rectangle defined by the rect parameter, including the specified upper-left corner and up to the calculated lower and bottom edges.

FillRectangle(Brush, double, double, double, double)

Fills the interior of a rectangle specified by a pair of coordinates, a width, and a height.

public void FillRectangle(Brush brush, double x, double y, double width, double height)

Parameters

brush Brush

Brush that determines the characteristics of the fill.

x double

The x-coordinate of the upper-left corner of the rectangle to fill.

y double

The y-coordinate of the upper-left corner of the rectangle to fill.

width double

Width of the rectangle to fill.

height double

Height of the rectangle to fill.

FillRectangle(Brush, RectD, GraphicsUnit)

Fills the interior of a rectangle specified by a RectD structure. Rectangle is specified in device-independent units.

public abstract void FillRectangle(Brush brush, RectD rectangle, GraphicsUnit unit)

Parameters

brush Brush

Brush that determines the characteristics of the fill.

rectangle RectD

RectD structure that represents the rectangle to fill.

unit GraphicsUnit

GraphicsUnit that determines the unit of measure for the rectangle parameter.

Remarks

This method fills the interior of the rectangle defined by the rect parameter, including the specified upper-left corner and up to the calculated lower and bottom edges.