function getTextXForPadding(x, textAlign, textPadding) {
    return textAlign === 'right'
        ? (x - textPadding[1])
        : textAlign === 'center'
        ? (x + textPadding[3] / 2 - textPadding[1] / 2)
        : (x + textPadding[3]);
}
@alias module:zrender/graphic/Displayable
@extends module:zrender/Element
@extends module:zrender/graphic/mixin/RectText