Add a rectangle drawn in the current color at the current width and with the current options. The rectangle may be
outlined or filled.
Note that this is subtly different from the way that FrameRect
works. When a rectangle is framed the line goes around the outside
of the rectangle. When a rectangle is added the line is centered on
the rectangle - so half is inside and half is outside.