Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Should clip() respect rectMode() ?

edited March 2012 in Suggestions Posts: 384

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().

Tagged:

Comments

  • SimeonSimeon Admin Mod
    Posts: 5,054

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

  • Posts: 384

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

Sign In or Register to comment.