Method FillBorderRectangle
FillBorderRectangle(Graphics, RectD, Brush?, BorderSettings?, bool, AbstractControl?)
Fills rectangle background and draws its border using the specified border settings.
public static void FillBorderRectangle(this Graphics dc, RectD rect, Brush? brush, BorderSettings? border, bool hasBorder = true, AbstractControl? control = null)
Parameters
dc
GraphicsGraphics where to draw.
rect
RectDRectangle.
brush
BrushBrush to fill the rectangle.
border
BorderSettingsBorder settings.
hasBorder
boolWhether border is painted.
control
AbstractControlControl in which border is painted. Optional.