size

size: Readonly<WritableXAndY> | undefined

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: 21 November, 2024