setMinMax(minWidth, minHeight, maxWidth, maxHeight)
Set the min and max dimensions for the Display canvas.
Note: The min/max dimensions are only applied in some cases
- When the device is not in an incorrect orientation; or
 - The scale mode is EXACT_FIT when not in fullscreen
 
Parameters
| Name | Type | Argument | Description | 
|---|---|---|---|
minWidth |  number | The minimum width the game is allowed to scale down to.  |  |
minHeight |  number | The minimum height the game is allowed to scale down to.  |  |
maxWidth |  number |  <optional> |  The maximum width the game is allowed to scale up to; only changed if specified.  |  
maxHeight |  number |  <optional> |  The maximum height the game is allowed to scale up to; only changed if specified.  |  
- Source code: core/ScaleManager.js (Line 996)
 - To Do:
 -  
- These values are only sometimes honored.
 
 
Please login to continue.