We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
参考资料:How to Center Text inside an SVG Path
<text style="font-size: 24px;"> <textPath xlink:href="#p1" startOffset="50%" text-anchor="middle">1test text</textPath> </text>
关键是 startOffset="50%" text-anchor="middle"
startOffset="50%" text-anchor="middle"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
参考资料:How to Center Text inside an SVG Path
关键是
startOffset="50%" text-anchor="middle"
The text was updated successfully, but these errors were encountered: