function getTextBoundingRect(opt) {
    return getBoundingRect(
        opt.text,
        opt.font,
        opt.textAlign,
        opt.textVerticalAlign,
        opt.textPadding,
        opt.textLineHeight,
        opt.rich,
        opt.truncate
    );
}
HBox layouting
@param {module:zrender/container/Group} group
@param {number} gap
@param {number} [width=Infinity]
@param {number} [height=Infinity]