<feblend>
<fecolormatrix>
<fecomponenttransfer>
<fecomposite>
<feconvolvematrix>
<fediffuselighting>
<fedisplacementmap>
<feflood>
<fefunca>
<fefuncb>
<fefuncg>
<fefuncr>
<fegaussianblur>
<feimage>
<femerge>
<femergenode>
<femorphology>
<feoffset>
<fepointlight>
<fespecularlighting>
<fespotlight>
<fetile>
<feturbulence>
<feBlend>
<feColorMatrix>
<feComponentTransfer>
<feComposite>
<feConvolveMatrix>
<feDiffuseLighting>
<feDisplacementMap>
<feDistantLight>
<feFlood>
<feFuncA>
<feFuncB>
<feFuncG>
<feFuncR>
<feGaussianBlur>
<feImage>
<feMerge>
<feMergeNode>
<feMorphology>
<feOffset>
<fePointLight>
<feSpecularLighting>
<feSpotLight>
<feTile>
<feTurbulence>
<filter>
<font>
<font-face>
<font-face-format>
<font-face-name>
<font-face-src>
<font-face-uri>
<foreignObject>
<feImage>
SVG
filter primitive fetches image data from an external source and provides the pixel data as output (meaning if the external source is an SVG image, it is rasterized.)
| 类别 | Filter primitive element |
|---|---|
| 准许内容 |
Any number of the following elements, in any order:
<animate>
,
<animateTransform>
,
<set>
|
This element implements the
SVGFEImageElement
接口。
<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"
xmlns:
xlink
=
"
http://www.w3.org/1999/xlink
"
>
<
defs
>
<
filter
id
=
"
image
"
>
<
feImage
xlink:
href
=
"
/files/6457/mdn_logo_only_color.png
"
/>
</
filter
>
</
defs
>
<
rect
x
=
"
10%
"
y
=
"
10%
"
width
=
"
80%
"
height
=
"
80%
"
style
=
"
filter
:
url
(
#image
)
;
"
/>
</
svg
>
| 规范 |
|---|
|
Filter Effects Module Level 2
(Filter Effects 2)
# feImageElement |
BCD tables only load in the browser
<filter>
<animate>
<animateTransform>
<set>
<feBlend>
<feColorMatrix>
<feComponentTransfer>
<feComposite>
<feConvolveMatrix>
<feDiffuseLighting>
<feDisplacementMap>
<feFlood>
<feGaussianBlur>
<feMerge>
<feMorphology>
<feOffset>
<feSpecularLighting>
<feTile>
<feTurbulence>
最后修改: , 由 MDN 贡献者