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
- core/frontend/src/Viewport.ts Line 216
Last Updated: 20 June, 2023