Method FillRoundRectangle
FillRoundRectangle(int, int, int, int, int, int)
Fills a rectangle with rounded corners. The rectangle is outlined by using the current pen and filled by using the current brush.
public virtual void FillRoundRectangle(int left, int top, int right, int bottom, int width, int height)
Parameters
left
intSpecifies the x-coordinate, in logical coordinates, of the upper-left corner of the rectangle.
top
intSpecifies the y-coordinate, in logical coordinates, of the upper-left corner of the rectangle.
right
intSpecifies the x-coordinate, in logical coordinates, of the lower-right corner of the rectangle.
bottom
intSpecifies the y-coordinate, in logical coordinates, of the lower-right corner of the rectangle.
width
intSpecifies the width, in logical coordinates, of the ellipse used to draw the rounded corners.
height
intSpecifies the height, in logical coordinates, of the ellipse used to draw the rounded corners.