• ProportionalToWindow 类型
    • 索引
      • 方法
  • Details
    • 方法
      • preApply
        • 参数列表
      • apply
        • 参数列表
      • postApply
        • 参数列表

    ProportionalToWindow 类型

    继承于 ProportionalToFrame

    模块: _decorator父模块: cc

    索引

    方法
    • preApply 在应用策略之前的操作
    • apply 策略应用方法
    • postApply 策略调用之后的操作

    Details

    方法

    preApply

    在应用策略之前的操作

    metadescription
    定义于cocos2d/core/platform/CCView.js:1031
    参数列表
    • view View The target view
    apply

    策略应用方法

    metadescription
    定义于cocos2d/core/platform/CCView.js:1041
    参数列表
    • view View
    • designedResolution Size
    postApply

    策略调用之后的操作

    metadescription
    定义于cocos2d/core/platform/CCView.js:1052
    参数列表
    • view View The target view