What is the purpose of the resize() method in PGraphics if it doesn't work?

yes, I know it makes sense for PImage and it works.
but this method is also available for PGraphics itself