Move getRotation and getImageArea to the base class