CocoStudio UIEditor 是否能为 Label 组件添加描边等属性设置?这个应该是Label的基本必要的东西吧。
每次都要手写代码去enableOutline , enableStroke 的很是麻烦。
你是用文本框控件(text)的吗?enableOutline , enableStroke是如何设置的,求指导?
Text 本身有 enableOutline 的API,目前只能在代码里调用。如果编辑器能直接支持就好了
呃。。。 UI编辑器里面的Text 貌似没有outline的API,只有LabelTTF才支持这个接口
Text 直接提供
void enableShadow (const Color4B &shadowColor=Color4B::BLACK, const Size &offset=Size(2,-2), int blurRadius=0)
Enable shadow for the label. More…
void enableOutline (const Color4B &outlineColor, int outlineSize=1)
Enable outline for the label It only works on IOS and Android when you use System fonts. More…
void enableGlow (const Color4B &glowColor)
only support for TTF More…
这个我们正在升级编辑器内核,目前还停留在2.x版本,所以3.x版本的特效无法实现。
8月7号发布的1.6版本的CocosStudio编辑器的内核是不是会升级到3.x?
是3.2 已经支持Text的outline了么?我用的3.0 里面还不支持呢