Constructs a new resolution.
TODO Remove resizable param.
A resizable object.
Optional
width: numberThe preferred width.
Optional
height: numberThe preferred height.
Optional
scale: numberA resolution scale.
The base height.
The base width.
The effective height.
If the preferred width and height are set to Resizer.AUTO_SIZE, the base height will be returned.
The preferred height.
The preferred width.
The resolution scale.
The effective width.
If the preferred width and height are set to Resizer.AUTO_SIZE, the base width will be returned.
Static
AUTO_An auto sizing constant.
Can be used to automatically calculate the width or height based on the original aspect ratio.
Adds a listener to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Copies the given resolution.
The resolution.
Fire an event type.
Checks if listener is added to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Removes a listener from an event type.
The type of the listener that gets removed.
The listener function that gets removed.
A resolution.