[]
Draws the rectangle with parameters.
public void DrawThemedBox(Graphics g, Rectangle r, Brush b, Color borderColor, int corners, bool isConvex)
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)
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 |