Label.HorizontalAlign Enum

Module: cc

Enum for text alignment.

Index

  • LEFT
  • CENTER
  • RIGHT

Details

LEFT

Alignment left for text.

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCLabel.js:36
CENTER

Alignment center for text.

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCLabel.js:41

Alignment right for text.

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCLabel.js:46

results matching ""

    No results matching ""