Can PImage be subclassed?
in
Programming Questions
•
5 months ago
I tried to do subclass for PImage but it didn't really work out because of the way PImage's are constructed:
PImage img = loadImage("imageFile");
I want to have a subclass of PImage that inherits the qualities of PImage, but I don't know how to go about writing the constructor since it is irregular.
Has anyone done something like this before?
1