Skip to main content

ScreenshotOptions.fromSurface property

Capture the screenshot from the surface, rather than the view.

Signature:

fromSurface?: boolean;