service / com.scurab.android.uitor.tools / android.view.View / render
render
fun View.render(includeLocationOnScreen: Boolean = false): Bitmap
Render view into bitmap
Parameters
includeLocationOnScreen
-
- add spacing if the rootview is doesn't have origin 0,0,
this is necessary for ScreenPreview (just easier to avoid coords recalculation)