Constructs a new resolution.
TODO Remove resizable param.
A resizable object.
Optionalwidth: numberThe preferred width.
Optionalheight: numberThe preferred height.
Optionalscale: numberA resolution scale.
A resizable object.
The preferred resolution.
StaticAUTO_An auto sizing constant.
Can be used to automatically calculate the width or height based on the original aspect ratio.
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.
Adds a listener to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Adds a listener to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
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.
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.
Removes a listener from an event type.
The type of the listener that gets removed.
The listener function that gets removed.
Sets the base size.
The width.
The height.
Sets the preferred size.
The width.
The height.
A resolution.