Constructs a new resolution.
The preferred width.
The preferred height.
A resolution scale.
Static ReadonlyAUTO_An auto sizing constant.
Can be used to automatically calculate the width or height based on the original aspect ratio.
The aspect ratio.
The effective height, calculated based on the preferred size, pixel ratio and resolution scale.
The pixelRatio multiplied by the scale.
The effective width, calculated based on the preferred size, pixel ratio and resolution scale.
Copies the base size of a given resolution.
A resolution.
Copies the preferred size of a given resolution.
A resolution.
Checks if this resolution equals the given resolution.
A resolution.
True if the resolutions are the same.
Resets the preferred size to AUTO_SIZE.
Sets the base size in logical pixels.
The width.
The height.
Dispatches a change event.
Sets the preferred size in logical pixels.
The width.
The height.
A resolution.