Class ccs.UILabelBMFont

Class Summary
Constructor Attributes Constructor Name and Description
 
Base class for ccs.UILabelBMFont

Method Summary

Class Detail

ccs.UILabelBMFont()
Base class for ccs.UILabelBMFont

Method Detail

  • <static> {ccs.UILabelBMFont} ccs.UILabelBMFont.create()
    allocates and initializes a UILabelBMFont.
    // example
    var uiLabelBMFont = ccs.UILabelBMFont.create();
    Returns:
    {ccs.UILabelBMFont}
  • {cc.Size} getContentSize()
    get content size
    Returns:
    {cc.Size}
  • {string} getDescription()
    Returns the "class name" of widget.
    Returns:
    {string}
  • {String} getStringValue()
    get string value for labelbmfont.
    Returns:
    {String}
  • {cc.Node} getVirtualRenderer()
    override "getVirtualRenderer" method of widget.
    Returns:
    {cc.Node}
  • setAnchorPoint(pt)
    override "setAnchorPoint" of widget.
    Parameters:
    {cc.Point} pt
  • setFntFile(fileName)
    init a bitmap font atlas with an initial string and the FNT file
    Parameters:
    {String} fileName
  • setText(value)
    set string value for labelbmfont
    Parameters:
    {String} value