draw_box
Description:
public void draw_box (
int x1,
int y1,
int x2,
int y2,
Color c)
Draws a rectangle on the current context using the specified coordinates and color.
Parameters:
x1 |
the left X coordinate
|
y1 |
the top Y coordinate
|
x2 |
the right X coordinate
|
y2 |
the bottom Y coordinate
|
c |
the color
|