DrawThemedBox(Graphics,Rectangle,Brush,Color,Color,Color,Int32,TabAlignment,Boolean) Method
In This Topic
Draws the rectangle with parameters.
Syntax
Parameters
- g
- A System.Drawing.Graphics object that encapsulates a GDI+ drawing surface.
- r
- The rectangle area to paint.
- b
- A System.Drawing.Brush object to fill the rectangle.
- borderColor
- A System.Drawing.Color structure that represents the border starting color for the gradient.
- borderColor2
- A System.Drawing.Color structure that represents the border ending color for the gradient.
- borderColor3
- The tab bottom line color.
- corners
- Radius of all rectangle corners, in pixels.
- orientation
- A System.Windows.Forms.TabAlignment structure that specifies the locations of the tabs in a tab control.
- skipBottomCorners
See Also