Layout.Type 枚举

模块: cc

布局类型

索引

  • NONE
  • HORIZONTAL
  • VERTICAL
  • GRID

Details

NONE

取消布局

meta description
类型 Number
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCLayout.js:36
HORIZONTAL

水平布局

meta description
类型 Number
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCLayout.js:42
VERTICAL

垂直布局

meta description
类型 Number
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCLayout.js:49
GRID

网格布局

meta description
类型 Number
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCLayout.js:55

results matching ""

    No results matching ""