function getTextRect(text, font, textAlign, textVerticalAlign, textPadding, rich, truncate) {
	        return rich
	            ? getRichTextRect(text, font, textAlign, textVerticalAlign, textPadding, rich, truncate)
	            : getPlainTextRect(text, font, textAlign, textVerticalAlign, textPadding, truncate);
	    }
@public
@param {string} text
@param {string} font
@param {string} [textAlign='left']
@param {string} [textVerticalAlign='top']
@param {Array.<number>} [textPadding]
@param {Object} [rich]
@param {Object} [truncate]
@return {Object} {x, y, width, height, lineHeight}