Label.Type Enum

Module: cc Parent Module: cc

Enum for font type.

Index

  • TTF
  • BMFont
  • SystemFont
  • NONE
  • BITMAP
  • CHAR

Details

TTF

The TTF font type.

meta description
Type Number
Defined in cocos2d/core/components/CCLabel.js:118
BMFont

The bitmap font type.

meta description
Type Number
Defined in cocos2d/core/components/CCLabel.js:123
SystemFont

The system font type.

meta description
Type Number
Defined in cocos2d/core/components/CCLabel.js:128
NONE

Do not do any caching.

meta description
Type Number
Defined in cocos2d/core/components/CCLabel.js:134
BITMAP

In BITMAP mode, cache the label as a static image and add it to the dynamic atlas for batch rendering, and can batching with Sprites using broken images.

meta description
Type Number
Defined in cocos2d/core/components/CCLabel.js:139
CHAR

In CHAR mode, split text into characters and cache characters into a dynamic atlas which the size of 2048*2048.

meta description
Type Number
Defined in cocos2d/core/components/CCLabel.js:144

results matching ""

    No results matching ""