* Set basic textStyle properties.
(textStyleModel, specifiedTextStyle, // Fixed style in the code. Can't be set by model.
opt, isNotNormal, isAttached // If text is attached on an element. If so, auto color will handling in zrender.
)
| 15007 | */ |
| 15008 | |
| 15009 | function createTextStyle(textStyleModel, specifiedTextStyle, // Fixed style in the code. Can't be set by model. |
| 15010 | opt, isNotNormal, isAttached // If text is attached on an element. If so, auto color will handling in zrender. |
| 15011 | ) { |
| 15012 | var textStyle = {}; |
| 15013 | setTextStyleCommon(textStyle, textStyleModel, opt, isNotNormal, isAttached); |
| 15014 | specifiedTextStyle && extend(textStyle, specifiedTextStyle); // textStyle.host && textStyle.host.dirty && textStyle.host.dirty(false); |
| 15015 | |
| 15016 | return textStyle; |
| 15017 | } |
| 15018 | function createTextConfig(textStyleModel, opt, isNotNormal) { |
| 15019 | opt = opt || {}; |
| 15020 | var textConfig = {}; |
no test coverage detected
searching dependent graphs…