Draws a framed rectangle on the current context using the specified coordinates and colors.
The coordinates specify the interior box. The border extends outside of the box using the given width
.
This function does not perform clipping. If you cannot ensure that the box, including the frame, is within the bounds of the current context, then use draw_framed_box instead.
x1 |
the left X coordinate |
y1 |
the top Y coordinate |
x2 |
the right X coordinate |
y2 |
the bottom Y coordinate |
width |
the width of the frame |
c |
the colors |