Stub of centerItem, resizeImage, trimText, scaleImage methods