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
索引
方法
- preApplyManipulation before appling the strategy
- applyFunction to apply this strategy
- postApplyManipulation after applying the strategy
Details
方法
preApply
Manipulation before appling the strategy
| meta | description | 
|---|---|
| 定义于 | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/platform/CCView.js:1039 | 
参数列表
- viewView The target view
apply
Function to apply this strategy
| meta | description | 
|---|---|
| 定义于 | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/platform/CCView.js:1047 | 
参数列表
postApply
Manipulation after applying the strategy
| meta | description | 
|---|---|
| 定义于 | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/platform/CCView.js:1056 | 
参数列表
- viewView The target view
