fun RectF.toImageRect(): ImageRect
Converts an Android RectF into an ImageRect.
the same rectangle in the SDK’s own type.