Table of Contents

Method FillRectangle

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

FillRectangle(RectFloat, IDeviceBrush)

Paints the interior of the specified rectangle.

void FillRectangle(RectFloat rect, IDeviceBrush brush)

Parameters

rect RectFloat

The dimension of the rectangle to paint, in device-independent pixels.

brush IDeviceBrush

The brush used to paint the rectangle's interior.