Namespace ccs.uiReader

Base object for ccs.uiReader

Method Summary

Method Detail

  • clear()
    Clear data: Release all actions.
  • {cc.Size} getFileDesignSize(fileName)
    Parameters:
    {String} fileName
    Returns:
    {cc.Size}
  • {Number} getVersionInteger(str)
    get version
    Parameters:
    {String} str
    Returns:
    {Number}
  • storeFileDesignSize(fileName, size)
    store file designSize
    Parameters:
    {String} fileName
    {cc.Size} size
  • {ccui.Widget} widgetFromJsonFile(fileName)
    create uiWidget from a josn file that exported by cocostudio UI editor
    Parameters:
    {String} fileName
    Returns:
    {ccui.Widget}