TextMetrics = function TextMetrics(options) {
      options = options || {};

      var _width = options.width || 0;

      Object.defineProperty(this, "width", {
        get: function get() {
          return _width;
        }
      });
      return this;
    }
Returns an object that contains the width of the specified text

@name measureText
@function
@param text {String} The text to be measured
@description The measureText() method returns an object that contains the width of the specified text, in pixels.
@returns {Number}