translateRect

fun translateRect(rect: Rect): RectF

Adjusts the rect's coordinate from the preview's coordinate system to the view coordinate system.