ContainerStrategy
类型
模块: _decorator 父模块: cc
cc.ContainerStrategy class is the root strategy class of container's scale strategy, it controls the behavior of how to scale the cc.container and cc.game.canvas object
索引
方法
preApply
Manipulation before appling the strategyapply
Function to apply this strategypostApply
Manipulation after applying the strategy
Details
方法
preApply
Manipulation before appling the strategy
meta | description |
---|---|
定义于 | cocos2d/core/platform/CCView.js:1065 |
参数列表
view
View The target view
apply
Function to apply this strategy
meta | description |
---|---|
定义于 | cocos2d/core/platform/CCView.js:1073 |
参数列表
postApply
Manipulation after applying the strategy
meta | description |
---|---|
定义于 | cocos2d/core/platform/CCView.js:1082 |
参数列表
view
View The target view