size

size: undefined | Readonly<WritableXAndY>

Optional dimensions to which to resize the captured image. If the aspect ratio of these dimensions does not match that of the captured image, horizontal or vertical bars will be added to the resized image using the viewport's background color. If unspecified, the image will not be resized.

Defined in

Last Updated: 25 April, 2024