[]
Draw rectangle from this document.
public void DrawRectangle(Pen pen, double x, double y, double width, double height)
| Type | Name | Description |
|---|---|---|
| Pen | pen | The drawing pen. |
| double | x | The x (top-left corner) coordinate. |
| double | y | The y (top-left corner) coordinate. |
| double | width | The width of the rectangle. |
| double | height | The height of the rectangle. |
Draw rectangle from this document.
public void DrawRectangle(Pen pen, Rect rc)
| Type | Name | Description |
|---|---|---|
| Pen | pen | The drawing pen. |
| Rect | rc | The drawing rectangle. |
Draw round rectangle from this document.
public void DrawRectangle(Pen pen, Rect rc, Size corners)
| Type | Name | Description |
|---|---|---|
| Pen | pen | The drawing pen. |
| Rect | rc | The drawing rectangle. |
| Size | corners | The cones size. |