Creates a new instance of Rect with the given origin and size.
Creates a new instance of Rect with the given parameters.