Table of Contents

Method FillRectangleBorder

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

FillRectangleBorder(Graphics, Brush, RectD, double)

Draws rectangle border using FillRectangle(Brush, RectD).

public static void FillRectangleBorder(this Graphics dc, Brush brush, RectD rect, double borderWidth = 1)

Parameters

dc Graphics

Drawing context.

brush Brush

Brush to draw border.

rect RectD

Border rectangle.

borderWidth double

Border width.

FillRectangleBorder(Graphics, Brush, RectD, Thickness)

Draws rectangle border using FillRectangle(Brush, RectD).

public static void FillRectangleBorder(this Graphics dc, Brush brush, RectD rect, Thickness borderWidth)

Parameters

dc Graphics

Drawing context.

brush Brush

Brush to draw border.

rect RectD

Border rectangle.

borderWidth Thickness

Border width.