Added center property to Rect class.