[]
Draw rectangle from this document.
public void DrawRectangle(Pen pen, float x, float y, float width, float height)
Public Sub DrawRectangle(pen As Pen, x As Single, y As Single, width As Single, height As Single)
| Type | Name | Description |
|---|---|---|
| Pen | pen | The drawing pen. |
| float | x | The x (top-left corner) coordinate. |
| float | y | The y (top-left corner) coordinate. |
| float | width | The width of the rectangle. |
| float | height | The height of the rectangle. |
Draw rectangle from this document.
public void DrawRectangle(Pen pen, RectangleF rc)
Public Sub DrawRectangle(pen As Pen, rc As RectangleF)
| Type | Name | Description |
|---|---|---|
| Pen | pen | The drawing pen. |
| RectangleF | rc | The drawing rectangle. |
Draw round rectangle from this document.
public void DrawRectangle(Pen pen, RectangleF rc, SizeF corners)
Public Sub DrawRectangle(pen As Pen, rc As RectangleF, corners As SizeF)
| Type | Name | Description |
|---|---|---|
| Pen | pen | The drawing pen. |
| RectangleF | rc | The drawing rectangle. |
| SizeF | corners | The cones size. |