March 2014
Intermediate to advanced
672 pages
40h 11m
English
Each screen provides an availableModes property. This is an array of resolution objects ordered from lowest to highest resolution. Each mode has a size property that indicates a target pixel-size resolution. Many screens support multiple modes. For example, a VGA display might offer as many as one-half dozen or more different resolutions. The number of supported resolutions varies by hardware. There will always be at least one resolution available, but you should offer choices to users when there are more.
Read now
Unlock full access