fromSurface

val fromSurface: Boolean? = null(source)

Capture the screenshot from the surface, rather than the view. Defaults to true.