(extra: ZRStyleProps, itemStyle: ItemStyleProps)
| 881 | } |
| 882 | |
| 883 | function preFetchFromExtra(extra: ZRStyleProps, itemStyle: ItemStyleProps): void { |
| 884 | // A trick to retrieve those props firstly, which are used to |
| 885 | // apply auto inside fill/stroke in `convertToEC4StyleForCustomSerise`. |
| 886 | // (It's not reasonable but only for a degree of compat) |
| 887 | if (extra) { |
| 888 | (extra as any).textFill && ((itemStyle as any).textFill = (extra as any).textFill); |
| 889 | (extra as any).textPosition && ((itemStyle as any).textPosition = (extra as any).textPosition); |
| 890 | } |
| 891 | } |
| 892 | |
| 893 | /** |
| 894 | * @public |
no outgoing calls
no test coverage detected
searching dependent graphs…