logo
  • 教程列表
  • SO官方文档
  • 文本
    • 画文字
    • 超级和下标
    • 旋转文字
    • 使用 XY 值数组的单个字母定位
  1. StackOverflow 文档
  2. SVG 教程
  3. 文本
  4. 画文字

画文字

Created: November-22, 2018

<svg xmlns="http://www.w3.org/2000/svg">
    <text x="40" y="60" font-size="28">Hello World!</text>
</svg>

x 和 y 坐标指定文本左下角的位置(除非文本锚已被修改)。

StackOverflow 文档

  • 超级和下标
  • 文本

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 关于我们
  • 免责声明