【发布时间】:2020-07-18 18:44:31
【问题描述】:
SVG 菜鸟在这里。我只是想水平或垂直翻转 SVG 文本元素,但添加 transform="scale(-1, 1)" 属性会导致空白结果。
<html>
<body>
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="200"
height="200">
<text x="100"
y="100"
transform="scale(-1, 1)">SVG test text</text>
</svg>
</body>
</html>
【问题讨论】:
标签: svg text transform flip mirror