(vegaTextAngle: number)
| 66 | }; |
| 67 | |
| 68 | function convertAngle(vegaTextAngle: number) { |
| 69 | if (vegaTextAngle && !isNaN(vegaTextAngle)) { |
| 70 | return 360 - vegaTextAngle; |
| 71 | } |
| 72 | return 0; |
| 73 | } |
| 74 | |
| 75 | function convertAlignment(textAlign: SceneTextAlign): TextAnchor { |
| 76 | switch (textAlign) { |