ContainerStrategy Class
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
Index
Methods
- preApplyManipulation before appling the strategy
- applyFunction to apply this strategy
- postApplyManipulation after applying the strategy
Details
Methods
preApply
Manipulation before appling the strategy
| meta | description | 
|---|---|
| Defined in | cocos2d/core/platform/CCView.js:1024 | 
Parameters
- viewView The target view
apply
Function to apply this strategy
| meta | description | 
|---|---|
| Defined in | cocos2d/core/platform/CCView.js:1034 | 
Parameters
postApply
Manipulation after applying the strategy
| meta | description | 
|---|---|
| Defined in | cocos2d/core/platform/CCView.js:1045 | 
Parameters
- viewView The target view
