ContainerStrategy 类型
模块: _decorator父模块: cc
cc.game.containerStrategy class is the root strategy class of container's scale strategy,it controls the behavior of how to scale the cc.game.container and cc.game.canvas object
索引
方法
Details
方法
preApply
在应用策略之前的操作
meta | description |
---|---|
定义于 | cocos2d/core/platform/CCView.js:1031 |
参数列表
view
View The target view
apply
策略应用方法
meta | description |
---|---|
定义于 | cocos2d/core/platform/CCView.js:1041 |
参数列表
postApply
策略调用之后的操作
meta | description |
---|---|
定义于 | cocos2d/core/platform/CCView.js:1052 |
参数列表
view
View The target view