Rect rect = new Rect(0, 0, 100, 100);
Rect rect = new Rect(0, 0, 100, 100); rect.set(rect.left, rect.top, rect.left + 200, rect.bottom);
Rect rect = new Rect(0, 0, 100, 100); int width = rect.width();The Rect class is part of the `android.graphics` package library.