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 | cocos2d/core/components/CCLabel.js:42 |
CENTER
Alignment center for text.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/components/CCLabel.js:47 |
RIGHT
Alignment right for text.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/components/CCLabel.js:52 |