Skip to main content
Version: 19.3.0

Viewport.deviceScaleFactor property

Specify device scale factor. See devicePixelRatio for more info.

Signature:

interface Viewport {
deviceScaleFactor?: number;
}

Default value:

1