Should clip() respect rectMode() ?

I’m trying to clip all drawing outside the rectangle I am putting in the middle of the screen. It would be nice if I could use the same arguments to clip() and rect() when rectMode() is set to CENTER. It is an easy workaround, but I assumed it would work like rect().

Good point Fred. I’m not sure if we should use rectMode() for this, but we could introduce a separate clipMode() function.

Yes, I would have found that more easily in the docs, too.