Method DrawRoundRectangle
DrawRoundRectangle(int, int, int, int, int, int)
Draws a rectangle with rounded corners. The rectangle is outlined by using the current pen.
public virtual void DrawRoundRectangle(int left, int top, int right, int bottom, int width, int height)
Parameters
leftintSpecifies the x-coordinate, in logical coordinates, of the upper-left corner of the rectangle.
topintSpecifies the y-coordinate, in logical coordinates, of the upper-left corner of the rectangle.
rightintSpecifies the x-coordinate, in logical coordinates, of the lower-right corner of the rectangle.
bottomintSpecifies the y-coordinate, in logical coordinates, of the lower-right corner of the rectangle.
widthintSpecifies the width, in logical coordinates, of the ellipse used to draw the rounded corners.
heightintSpecifies the height, in logical coordinates, of the ellipse used to draw the rounded corners.