cocos creator~Label组件overflow参数设置

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/themagickeyjianan/article/details/86548302

1) SHRINK SHRINK 模式

字体大小会动态变化,以适应内容大小

2) CLAMP CLAMP 模式

当文本内容超出边界框时,多余的会被截断

3) RESIZE_HEIGHT 模式

只能更改文本的宽度,高度是自动改变的

猜你喜欢

转载自blog.csdn.net/themagickeyjianan/article/details/86548302