• Skip to main content
  • Skip to search
  • Skip to select language
webdocs.dev
  • 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

  • Play New
  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. descent 已弃用
    38. diffuseConstant
    39. direction
    40. display
    41. divisor
    42. dominant-baseline
    43. dur
    44. dx
    45. dy
    46. edgeMode
    47. elevation
    48. enable-background 已弃用
    49. end
    50. exponent
    51. fill
    52. fill-opacity
    53. fill-rule
    54. filter
    55. filterRes 已弃用
    56. filterUnits
    57. flood-color
    58. flood-opacity
    59. font-family
    60. font-size
    61. font-size-adjust
    62. font-stretch
    63. font-style
    64. font-variant
    65. font-weight
    66. fr
    67. from
    68. fx
    69. fy
    70. g1 已弃用
    71. g2 已弃用
    72. glyph-name 已弃用
    73. glyph-orientation-horizontal 已弃用
    74. glyph-orientation-vertical 已弃用
    75. gradientTransform
    76. gradientUnits
    77. hanging 已弃用
    78. height
    79. horiz-adv-x 已弃用
    80. horiz-origin-x 已弃用
    81. horiz-origin-y 已弃用
    82. href
    83. id
    84. ideographic 已弃用
    85. image-rendering
    86. in
    87. in2
    88. intercept
    89. k 已弃用
    90. k1
    91. k2
    92. k3
    93. k4
    94. kernelMatrix
    95. kernelUnitLength
    96. kerning 已弃用
    97. keyPoints
    98. keySplines
    99. keyTimes
    100. lang
    101. lengthAdjust
    102. letter-spacing
    103. lighting-color
    104. limitingConeAngle
    105. marker-end
    106. marker-mid
    107. marker-start
    108. markerHeight
    109. markerUnits
    110. markerWidth
    111. mask
    112. maskContentUnits
    113. maskUnits
    114. mathematical 已弃用
    115. max
    116. media
    117. method 实验性
    118. min
    119. mode
    120. name 已弃用
    121. numOctaves
    122. onclick
    123. opacity
    124. operator
    125. order
    126. orient
    127. orientation 已弃用
    128. origin
    129. overflow
    130. overline-position
    131. overline-thickness
    132. paint-order
    133. panose-1 已弃用
    134. path
    135. pathLength
    136. patternContentUnits
    137. patternTransform
    138. patternUnits
    139. pointer-events
    140. points
    141. pointsAtX
    142. pointsAtY
    143. pointsAtZ
    144. preserveAlpha
    145. preserveAspectRatio
    146. primitiveUnits
    147. r
    148. radius
    149. refX
    150. refY
    151. repeatCount
    152. repeatDur
    153. requiredFeatures 已弃用
    154. restart
    155. result
    156. rotate 实验性
    157. rx
    158. ry
    159. scale
    160. seed
    161. shape-rendering
    162. side 实验性
    163. slope 已弃用
    164. spacing
    165. specularConstant
    166. specularExponent
    167. spreadMethod
    168. startOffset
    169. stdDeviation
    170. stemh 已弃用
    171. stemv 已弃用
    172. stitchTiles
    173. stop-color
    174. stop-opacity
    175. strikethrough-position
    176. strikethrough-thickness
    177. string 已弃用
    178. stroke
    179. stroke-dasharray
    180. stroke-dashoffset
    181. stroke-linecap
    182. stroke-linejoin
    183. stroke-miterlimit
    184. stroke-opacity
    185. stroke-width
    186. style
    187. surfaceScale
    188. SVG attribute: crossorigin
    189. SVG Conditional Processing Attributes
    190. SVG Core Attributes
    191. SVG Event Attributes
    192. SVG Presentation Attributes
    193. SVG Styling Attributes
    194. systemLanguage
    195. tabindex
    196. tableValues
    197. target
    198. targetX
    199. targetY
    200. text-anchor
    201. text-decoration
    202. text-rendering
    203. textLength
    204. to
    205. transform
    206. transform-origin
    207. type
    208. u1 已弃用
    209. u2 已弃用
    210. underline-position
    211. underline-thickness
    212. unicode 已弃用
    213. unicode-bidi
    214. unicode-range 已弃用
    215. units-per-em 已弃用
    216. v-alphabetic 已弃用
    217. v-hanging 已弃用
    218. v-ideographic 已弃用
    219. v-mathematical 已弃用
    220. values
    221. vector-effect
    222. version 已弃用
    223. vert-adv-y 已弃用
    224. vert-origin-x 已弃用
    225. vert-origin-y 已弃用
    226. viewBox
    227. viewTarget 已弃用
    228. visibility
    229. width
    230. widths 已弃用
    231. word-spacing
    232. writing-mode
    233. x
    234. x-height 已弃用
    235. x1
    236. x2
    237. xChannelSelector
    238. xlink:arcrole 已弃用
    239. xlink:href 已弃用
    240. xlink:show 已弃用
    241. xlink:title 已弃用
    242. xlink:type 已弃用
    243. xml:base 已弃用
    244. xml:lang 已弃用
    245. xml:space 已弃用
    246. y
    247. y1
    248. y2
    249. yChannelSelector
    250. z
    251. 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.

webdocs.dev
  • GitHub

Support

  • Report an issue

Our communities

  • Discord

Developers

  • Web Technologies
  • Learn Web Development

Portions of this content are ©1998–2023 by individual contributors. Content available under a Creative Commons license.