translateRect

fun translateRect(rect: <ERROR CLASS>): <ERROR CLASS>

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