* Set basic textStyle properties. * See more info in `setTextStyleCommon`. * @param {Object|module:zrender/graphic/Style} textStyle * @param {module:echarts/model/Model} model * @param {Object} [specifiedTextStyle] Can be overrided by settings in model. * @param {Object} [opt] See `opt` of `set
(
textStyle, textStyleModel, specifiedTextStyle, opt, isEmphasis
)
| 17561 | * @param {boolean} [isEmphasis] |
| 17562 | */ |
| 17563 | function setTextStyle( |
| 17564 | textStyle, textStyleModel, specifiedTextStyle, opt, isEmphasis |
| 17565 | ) { |
| 17566 | setTextStyleCommon(textStyle, textStyleModel, opt, isEmphasis); |
| 17567 | specifiedTextStyle && extend(textStyle, specifiedTextStyle); |
| 17568 | // textStyle.host && textStyle.host.dirty && textStyle.host.dirty(false); |
| 17569 | |
| 17570 | return textStyle; |
| 17571 | } |
| 17572 | |
| 17573 | /** |
| 17574 | * Set text option in the style. |
no test coverage detected