Class cc.Screen

Class Summary
Constructor Attributes Constructor Name and Description
 
The fullscreen API provides an easy way for web content to be presented using the user's entire screen.

Method Summary

Class Detail

cc.Screen()
The fullscreen API provides an easy way for web content to be presented using the user's entire screen. It's invalid on safari,QQbrowser and android browser

Method Detail

  • <static> {cc.Screen} cc.Screen.getInstance()
    returns a shared instance of the cc.Screen
    Returns:
    {cc.Screen}