Method Rectangle
Rectangle(Pen, Brush, RectD)
Calls FillRectangle(Brush, RectD) and than DrawRectangle(Pen, RectD).
void Rectangle(Pen pen, Brush brush, RectD rectangle)
Parameters
Remarks
This method works faster than fill and then draw.
Calls FillRectangle(Brush, RectD) and than DrawRectangle(Pen, RectD).
void Rectangle(Pen pen, Brush brush, RectD rectangle)
This method works faster than fill and then draw.