Cocos Creator API

1.0.0

Cocos Creator is a highly customizable game development tool that utilizes the power of cocos2d-x.

ProportionalToWindow

Module: cc

Methods

preApply
(
  • view
)

Inherited from ContainerStrategy:

Manipulation before appling the strategy

name type description
view View

The target view

apply
(
  • view
  • designedResolution
)

Inherited from ContainerStrategy:

Function to apply this strategy

name type description
view View
designedResolution Size

postApply
(
  • view
)

Inherited from ContainerStrategy:

Manipulation after applying the strategy

name type description
view View

The target view

There are no methods that match your current filter settings. You can change your filter settings in the index section on this page. index