Method FillRectangleBorder
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
GraphicsDrawing context.
brush
BrushBrush to draw border.
rect
RectDBorder rectangle.
borderWidth
doubleBorder 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)