devicePixelRatio
GetterReadOnly
The device pixel ratio used by this Viewport. This value is not necessarily equal to window.devicePixelRatio
.
See: https://developer.mozilla.org/en-US/docs/Web/API/Window/devicePixelRatio
devicePixelRatio: number
Returns - number
Defined in
Last Updated: 28 October, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.