Rectangle function Null safety gdi32

int Rectangle(
  1. int hdc,
  2. int left,
  3. int top,
  4. int right,
  5. int bottom
)

The Rectangle function draws a rectangle. The rectangle is outlined by using the current pen and filled by using the current brush.

BOOL Rectangle(
  HDC hdc,
  int left,
  int top,
  int right,
  int bottom
);

Implementation

int Rectangle(int hdc, int left, int top, int right, int bottom) =>
    _Rectangle(hdc, left, top, right, bottom);