Documentation for getWidth, getHeight