Layout.AxisDirection 枚举

模块: cc

布局轴向,只用于 GRID 布局。

索引

  • HORIZONTAL
  • VERTICAL

Details

HORIZONTAL

进行水平方向布局

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

进行垂直方向布局

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

results matching ""

    No results matching ""