15 this->
display(X1, Y1, X2, Y2,
nullptr);
25 SelectObject(this->
hdc, CreatePen(PS_SOLID, this->bWidth, this->bCOLOR));
26 SelectObject(this->
hdc, CreateSolidBrush(this->COLOR));
28 return Rectangle(this->
hdc, this->X1, this->Y1, this->X2, this->Y2);
33 return this->
display(this->X1, this->Y1, this->X2, this->Y2,
nullptr);
URectangle * SetColor(COLORREF color)
Rectangle interface class Provide interface for creating/removing custom rectangle.
Rectangle interface class.
URectangle * SetBorderWidth(int w)
URectangle * SetBorderColor(COLORREF color)
bool display(int X1, int Y1, int X2, int Y2, WCHAR *TEXT) override