setSize

abstract fun setSize(@NonNull size: Size)

Sets the `size` of the snapshot

Parameters

size

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