• Skip to main content
  • Skip to search
  • Skip to select language
MDN Web Docs
  • References
    • Overview / Web Technology

      Web technology reference for developers

    • HTML

      Structure of content on the web

    • CSS

      Code used to describe document style

    • JavaScript

      General-purpose scripting language

    • HTTP

      Protocol for transmitting web resources

    • Web APIs

      Interfaces for building web applications

    • Web Extensions

      Developing extensions for web browsers

    • Web Technology

      Web technology reference for developers

  • Guides
    • Overview / MDN Learning Area

      Learn web development

    • MDN Learning Area

      Learn web development

    • HTML

      Learn to structure web content with HTML

    • CSS

      Learn to style content using CSS

    • JavaScript

      Learn to run scripts in the browser

    • Accessibility

      Learn to make the web accessible to all

  • Plus
    • Overview

      A customized MDN experience

    • AI Help (beta)

      Get real-time assistance and support

    • Updates

      All browser compatibility updates at a glance

    • Documentation

      Learn how to use MDN Plus

    • FAQ

      Frequently asked questions about MDN Plus

  • Blog
  • Play
  • AI Help Beta
  • Log in
  • Sign up for free
  1. Web 开发技术
  2. SVG:可缩放矢量图形
  3. SVG 属性参考
  4. path

此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。

  1. SVG
  2. 教程
  3. Introducing SVG from scratch
    1. 引言
    2. 入门
    3. 坐标定位
    4. 基本形状
    5. 路径
    6. 填充和边框
    7. 渐变
    8. Patterns
    9. 文本
    10. 基础变形
    11. 剪切和遮罩
    12. 其他 SVG 内容
    13. 滤镜效果
    14. SVG 字体
    15. SVG image 元素
    16. SVG 工具
    17. SVG 和 CSS
  4. 参考:
  5. 元素
    1. <a>
    2. <animate>
    3. <animateMotion>
    4. <animateTransform>
    5. <circle>
    6. <clipPath>
    7. <cursor> 已弃用
    8. <defs>
    9. <desc>
    10. <ellipse>
    11. <feBlend>
    12. <feColorMatrix>
    13. <feComponentTransfer>
    14. <feComposite>
    15. <feConvolveMatrix>
    16. <feDiffuseLighting>
    17. <feDisplacementMap>
    18. <feDistantLight>
    19. <feDropShadow>
    20. <feFlood>
    21. <feFuncA>
    22. <feFuncB>
    23. <feFuncG>
    24. <feFuncR>
    25. <feGaussianBlur>
    26. <feImage>
    27. <feMerge>
    28. <feMergeNode>
    29. <feMorphology>
    30. <feOffset>
    31. <fePointLight>
    32. <feSpecularLighting>
    33. <feSpotLight>
    34. <feTile>
    35. <feTurbulence>
    36. <filter>
    37. <font-face-format> 已弃用
    38. <font-face-name> 已弃用
    39. <font-face-src> 已弃用
    40. <font-face-uri> 已弃用
    41. <font-face> 已弃用
    42. <font> 已弃用
    43. <foreignObject>
    44. <g>
    45. <glyph> 已弃用
    46. <glyphRef> 已弃用
    47. <hkern> 已弃用
    48. <image>
    49. <line>
    50. <linearGradient>
    51. <marker>
    52. <mask>
    53. <metadata>
    54. <missing-glyph> 已弃用
    55. <mpath>
    56. <path>
    57. <pattern>
    58. <polygon>
    59. <polyline>
    60. <radialGradient>
    61. <rect>
    62. <script>
    63. <set>
    64. <stop>
    65. <style>
    66. <svg>
    67. <switch>
    68. <symbol>
    69. <text>
    70. <textPath>
    71. <title> — the SVG accessible name element
    72. <tref> 已弃用
    73. <tspan>
    74. <use>
    75. <view>
    76. <vkern> 已弃用
  6. 属性
    1. accent-height 已弃用
    2. accumulate
    3. additive
    4. alignment-baseline
    5. alphabetic 已弃用
    6. amplitude
    7. arabic-form 已弃用
    8. ascent 已弃用
    9. attributeName
    10. attributeType 已弃用
    11. azimuth
    12. baseFrequency
    13. baseline-shift
    14. baseProfile 已弃用
    15. bbox 已弃用
    16. begin
    17. bias
    18. by
    19. calcMode
    20. cap-height 已弃用
    21. class
    22. clip 已弃用
    23. clip-path
    24. clip-rule
    25. clipPathUnits
    26. color
    27. color-interpolation
    28. color-interpolation-filters
    29. color-profile 已弃用
    30. contentScriptType 已弃用
    31. contentStyleType 已弃用
    32. cursor
    33. cx
    34. cy
    35. d
    36. data-*
    37. decoding
    38. descent 已弃用
    39. diffuseConstant
    40. direction
    41. display
    42. divisor
    43. dominant-baseline
    44. dur
    45. dx
    46. dy
    47. edgeMode
    48. elevation
    49. enable-background 已弃用
    50. end
    51. exponent
    52. fill
    53. fill-opacity
    54. fill-rule
    55. filter
    56. filterRes 已弃用
    57. filterUnits
    58. flood-color
    59. flood-opacity
    60. font-family
    61. font-size
    62. font-size-adjust
    63. font-stretch
    64. font-style
    65. font-variant
    66. font-weight
    67. fr
    68. from
    69. fx
    70. fy
    71. g1 已弃用
    72. g2 已弃用
    73. glyph-name 已弃用
    74. glyph-orientation-horizontal 已弃用
    75. glyph-orientation-vertical 已弃用
    76. gradientTransform
    77. gradientUnits
    78. hanging 已弃用
    79. height
    80. horiz-adv-x 已弃用
    81. horiz-origin-x 已弃用
    82. horiz-origin-y 已弃用
    83. href
    84. id
    85. ideographic 已弃用
    86. image-rendering
    87. in
    88. in2
    89. intercept
    90. k 已弃用
    91. k1
    92. k2
    93. k3
    94. k4
    95. kernelMatrix
    96. kernelUnitLength
    97. kerning 已弃用
    98. keyPoints
    99. keySplines
    100. keyTimes
    101. lang
    102. lengthAdjust
    103. letter-spacing
    104. lighting-color
    105. limitingConeAngle
    106. marker-end
    107. marker-mid
    108. marker-start
    109. markerHeight
    110. markerUnits
    111. markerWidth
    112. mask
    113. maskContentUnits
    114. maskUnits
    115. mathematical 已弃用
    116. max
    117. media
    118. method 实验性
    119. min
    120. mode
    121. name 已弃用
    122. numOctaves
    123. onclick
    124. opacity
    125. operator
    126. order
    127. orient
    128. orientation 已弃用
    129. origin
    130. overflow
    131. overline-position
    132. overline-thickness
    133. paint-order
    134. panose-1 已弃用
    135. path
    136. pathLength
    137. patternContentUnits
    138. patternTransform
    139. patternUnits
    140. pointer-events
    141. points
    142. pointsAtX
    143. pointsAtY
    144. pointsAtZ
    145. preserveAlpha
    146. preserveAspectRatio
    147. primitiveUnits
    148. r
    149. radius
    150. refX
    151. refY
    152. repeatCount
    153. repeatDur
    154. requiredFeatures 已弃用
    155. restart
    156. result
    157. rotate 实验性
    158. rx
    159. ry
    160. scale
    161. seed
    162. shape-rendering
    163. side 实验性
    164. slope 已弃用
    165. spacing
    166. specularConstant
    167. specularExponent
    168. spreadMethod
    169. startOffset
    170. stdDeviation
    171. stemh 已弃用
    172. stemv 已弃用
    173. stitchTiles
    174. stop-color
    175. stop-opacity
    176. strikethrough-position
    177. strikethrough-thickness
    178. string 已弃用
    179. stroke
    180. stroke-dasharray
    181. stroke-dashoffset
    182. stroke-linecap
    183. stroke-linejoin
    184. stroke-miterlimit
    185. stroke-opacity
    186. stroke-width
    187. style
    188. surfaceScale
    189. SVG attribute: crossorigin
    190. SVG Conditional Processing Attributes
    191. SVG Core Attributes
    192. SVG Event Attributes
    193. SVG Presentation Attributes
    194. SVG Styling Attributes
    195. systemLanguage
    196. tabindex
    197. tableValues
    198. target
    199. targetX
    200. targetY
    201. text-anchor
    202. text-decoration
    203. text-rendering
    204. textLength
    205. to
    206. transform
    207. transform-origin
    208. type
    209. u1 已弃用
    210. u2 已弃用
    211. underline-position
    212. underline-thickness
    213. unicode 已弃用
    214. unicode-bidi
    215. unicode-range 已弃用
    216. units-per-em 已弃用
    217. v-alphabetic 已弃用
    218. v-hanging 已弃用
    219. v-ideographic 已弃用
    220. v-mathematical 已弃用
    221. values
    222. vector-effect
    223. version 已弃用
    224. vert-adv-y 已弃用
    225. vert-origin-x 已弃用
    226. vert-origin-y 已弃用
    227. viewBox
    228. viewTarget 已弃用
    229. visibility
    230. width
    231. widths 已弃用
    232. word-spacing
    233. writing-mode
    234. x
    235. x-height 已弃用
    236. x1
    237. x2
    238. xChannelSelector
    239. xlink:arcrole 已弃用
    240. xlink:href 已弃用
    241. xlink:show 已弃用
    242. xlink:title 已弃用
    243. xlink:type 已弃用
    244. xml:base 已弃用
    245. xml:lang 已弃用
    246. xml:space 已弃用
    247. y
    248. y1
    249. y2
    250. yChannelSelector
    251. z
    252. zoomAndPan 已弃用
  7. 指南:
    1. 在 HTML 内容中应用 SVG 效果
    2. 内容类型
    3. Namespaces Crash Course
    4. 使用 SMIL 的 SVG 动画
    5. 作为图片的 SVG

path

返回路径信息的数组

Found a content problem with this page?

  • Edit the page on GitHub.
  • Report the content issue.
  • View the source on GitHub.
Want to get more involved? Learn how to contribute.

This page was last modified on 2023年5月22日 by MDN contributors.

MDN logo

Your blueprint for a better internet.

  • MDN on Twitter
  • MDN on GitHub
  • MDN Blog RSS Feed

MDN

  • About
  • Blog
  • Careers
  • Advertise with us

Support

  • Product help
  • Report an issue

Our communities

  • MDN Community
  • MDN Forum
  • MDN Chat

Developers

  • Web Technologies
  • Learn Web Development
  • MDN Plus
  • Hacks Blog
Mozilla logo
  • Website Privacy Notice
  • Cookies
  • Legal
  • Community Participation Guidelines

Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2023 by individual mozilla.org contributors. Content available under a Creative Commons license.