[]
Draws the rectangle with parameters.
public void DrawThemedBox(Graphics g, Rectangle r, Brush b, Color borderColor, int corners, bool isConvex)
Public Sub DrawThemedBox(g As Graphics, r As Rectangle, b As Brush, borderColor As Color, corners As Integer, isConvex As Boolean)
| Type | Name | Description |
|---|---|---|
| Graphics | g | A Graphics object that encapsulates a GDI+ drawing surface. |
| Rectangle | r | The rectangle area to paint. |
| Brush | b | A Brush object to fill the rectangle. |
| Color | borderColor | The color of the border of the rectangle. |
| int | corners | Radius of all rectangle corners, in pixels. |
| bool | isConvex |
Draws the rectangle with parameters.
public void DrawThemedBox(Graphics g, Rectangle r, Brush b, Color borderColor, Color borderColor2, Color borderColor3, int corners, TabAlignment orientation, bool skipBottomCorners, bool isConvex)
Public Sub DrawThemedBox(g As Graphics, r As Rectangle, b As Brush, borderColor As Color, borderColor2 As Color, borderColor3 As Color, corners As Integer, orientation As TabAlignment, skipBottomCorners As Boolean, isConvex As Boolean)
| Type | Name | Description |
|---|---|---|
| Graphics | g | A Graphics object that encapsulates a GDI+ drawing surface. |
| Rectangle | r | The rectangle area to paint. |
| Brush | b | A Brush object to fill the rectangle. |
| Color | borderColor | A Color structure that represents the border starting color for the gradient. |
| Color | borderColor2 | A Color structure that represents the border ending color for the gradient. |
| Color | borderColor3 | The tab bottom line color. |
| int | corners | Radius of all rectangle corners, in pixels. |
| TabAlignment | orientation | A TabAlignment structure that specifies the locations of the tabs in a tab control. |
| bool | skipBottomCorners | |
| bool | isConvex |