setSize

open fun setSize(size: Size)

Sets the `size` of the snapshot

Parameters

size

The new `size` of the snapshot in `platform pixels`.