(color, opt)
| 17796 | } |
| 17797 | |
| 17798 | function getAutoColor(color, opt) { |
| 17799 | return color !== 'auto' ? color : (opt && opt.autoColor) ? opt.autoColor : null; |
| 17800 | } |
| 17801 | |
| 17802 | /** |
| 17803 | * Give some default value to the input `textStyle` object, based on the current settings |