Implement LineBreak Modes
Closed this issue · 0 comments
brandmooffin commented
CCTextLineBreakMode
Introducing new LIne Break Modes for CCLabelBMFont
& CCLabel
:
public enum CCTextLineBreakMode
{
SmartBreak,
WordBreak,
CharacterBreak,
NoBreak
}
Word Break
Break string lines by words
Character Break
Break string lines by characters
Smart Break (Default)
Combination of Word and Character breaks. Makes best determination for line break.
No Break
Line has no breaks. Just one line continuous string.
Note
LineBreakWithoutSpace
will be deprecated in a future release.