Cocos Creator API

1.3.0

Cocos Creator is a highly customizable game development tool that utilizes the power of cocos2d-x.

Label.Overflow

: cc

Enum for Overflow.

NONE Number

NONE.

CLAMP Number

In CLAMP mode, when label content goes out of the bounding box, it will be clipped.

SHRINK Number

In SHRINK mode, the font size will change dynamically to adapt the content size.

RESIZE_HEIGHT Number

In RESIZE_HEIGHT mode, you can only change the width of label and the height is changed automatically.

There are no properties that match your current filter settings. You can change your filter settings in the index section on this page. index