SVG 元素參考

SVG 圖形和影像是使用一系列專門用於構建、繪製和佈局向量影像和圖表的元素建立的。在這裡,你將找到每個 SVG 元素的參考文件。

SVG 元素 A 到 Z

A

C

D

E

F

G

I

L

M

P

R

S

T

U

V

按類別分類的 SVG 元素

動畫元素

<animate>, <animateMotion>, <animateTransform>, <mpath>, <set>

基本形狀

<circle>, <ellipse>, <line>, <polygon>, <polyline>, <rect>

容器元素

<a>, <defs>, <g>, <marker>, <mask>, <pattern>, <svg>, <switch>, <symbol>

描述性元素

<desc>, <metadata>, <title>

濾鏡基元元素

<feBlend>, <feColorMatrix>, <feComponentTransfer>, <feComposite>, <feConvolveMatrix>, <feDiffuseLighting>, <feDisplacementMap>, <feDropShadow>, <feFlood>, <feFuncA>, <feFuncB>, <feFuncG>, <feFuncR>, <feGaussianBlur>, <feImage>, <feMerge>, <feMergeNode>, <feMorphology>, <feOffset>, <feSpecularLighting>, <feTile>, <feTurbulence>

漸變元素

<linearGradient>, <radialGradient>, <stop>

圖形元素

<circle>, <ellipse>, <image>, <line>, <path>, <polygon>, <polyline>, <rect>, <text>, <use>

圖形引用元素

<use>

光源元素

<feDistantLight>, <fePointLight>, <feSpotLight>

永不渲染的元素

<clipPath>, <defs>, <linearGradient>, <marker>, <mask>, <metadata>, <pattern>, <radialGradient>, <script>, <style>, <symbol>, <title>

繪圖伺服器元素

<linearGradient>, <pattern>, <radialGradient>

可渲染元素

<a>, <circle>, <ellipse>, <foreignObject>, <g>, <image>, <line>, <path>, <polygon>, <polyline>, <rect>, <svg>, <switch>, <symbol>, <text>, <textPath>, <tspan>, <use>

形狀元素

<circle>, <ellipse>, <line>, <path>, <polygon>, <polyline>, <rect>

結構元素

<defs>, <g>, <svg>, <symbol>, <use>

文字內容元素

<textPath>, <text>, <tspan>

文字內容子元素

<textPath>, <tspan>

未分類元素

<clipPath>, <filter>, <foreignObject>, <script>, <style>, <view>

另見