CCLabelttf有enableStroke,请问各位大神,cocostudio上怎么描边呢?
楼主您好,
请按照以下方式调用:
UILabel* label = UILabel::create();
CCLabelTTF* labelTTF = static_cast<CCLabelTTF*>(label->getVirtualRenderer());
labelTTF->enableStroke(strokeColor, strokeSize);
感谢楼上的大神
— Begin quote from ____
引用第1楼pipu于2014-05-14 14:27发表的 :
楼主您好,
请按照以下方式调用:
UILabel* label = UILabel::create();
CCLabelTTF* labelTTF = static_cast<CCLabelTTF*>(label->getVirtualRenderer());
labelTTF->enableStroke(strokeColor, strokeSize); http://www.cocoachina.com/bbs/job.php?action=topost&tid=201501&pid=951519
— End quote
我这样描边没有反应啊