R2 - DrawRectangle


void R2::DrawRectangle(double x,
                       double y,
                       double width,
                       double height)

This method draws a rectangle.

Parameters

double x

The x-coordinate of the upper-left corner of the rectangle.

double y

The y-coordinate of the upper-left corner of the rectangle.

double width

The width of the rectangle.

double height

The height of the rectangle.