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: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.