rect.width to rect.height