ContainerStrategy
类型
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:1024 |
参数列表
view
View The target view
apply
策略应用方法
meta | description |
---|---|
定义于 | cocos2d/core/platform/CCView.js:1034 |
参数列表
postApply
策略调用之后的操作
meta | description |
---|---|
定义于 | cocos2d/core/platform/CCView.js:1045 |
参数列表
view
View The target view