public void setToNaturalSize(int locationX, int locationY) { Canvas canvas = ic.getCanvas(); int zoomedWidth = canvas.getZoomedWidth(); int zoomedHeight = canvas.getZoomedHeight(); setSize(zoomedWidth, zoomedHeight, locationX, locationY); }