c++ - cocos2d-x: writing words on screen in multiple lines -


in cocos2d-x when use cclabelttf writes words in consecutive order. there class in cocos2d-x gets place,width, height , string inscribe in rectangle on screen , if string's length bigger rectangle's size, breaks in multiple lines?

what method of cclabelttf class?

bool initwithstring (const char *string, const char *fontname, float fontsize, const ccsize &dimensions, cctextalignment halignment, ccverticaltextalignment valignment) 

Comments