# Rectangle

```csharp
[DllImport("coredll.dll", SetLastError = true)]
public static extern bool Rectangle(
   IntPtr hdc,
   int nLeftRect,
   int nTopRect,
   int nRightRect,
   int nBottomRect
);
```

Microsoft documentation: [Link](https://learn.microsoft.com/en-us/dotnet/api/system.drawing.rectangle?view=net-8.0)
