是否可以定义textPath的内联路径,而不是创建def并将其作为xlink:href作为属性引用?
<defs>
<path id="MyPath"
d="M 100 200
C 200 100 300 0 400 100" />
</defs>
<use xlink:href="#MyPath"/>
<text>
<textPath xlink:href="#MyPath">
My text along a path
</textPath>
</text>
那么有可能有像
这样的东西<text>
<textPath path="M 100 200 C 200 100 300 0 400 100">
My text along a path
</textPath>
</text>
这不起作用,但是这样吗?