<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>
值
attribute has different meanings, depending upon the context where it's used, either it defines a sequence of values used over the course of an animation, or it's a list of numbers for a color matrix, which is interpreted differently depending on the type of color change to be performed.
You can use this attribute with the following SVG elements:
For
<animate>
,
<animateColor>
,
<animateMotion>
,和
<animateTransform>
,
值
is a list of values defining the sequence of values over the course of the animation. If this attribute is specified, any
from
,
to
,和
by
attribute values set on the element are ignored.
| 值 |
<list-of-values>
|
|---|---|
| 默认值 | None |
| Animatable | No |
<list-of-values>
The value holds a semicolon-separated list of one or more values. The type of the values is defined by the
href
and
attributeName
属性。
对于
<feColorMatrix>
element,
值
is a list of numbers interpreted differently depending on the value of the
type
属性。
| 值 |
<list-of-numbers>
|
|---|---|
| 默认值 |
若
type="matrix"
, identity matrix,
if
type="saturate"
,
1
, resulting in identity
matrix,
if
type="hueRotate"
,
0
,
resulting in identity matrix
|
| Animatable | Yes |
<list-of-numbers>
The value is a list of numbers, which is interpreted differently depending on the value of the
type
属性:
type="matrix"
,
值
is a list of 20 matrix values (a00 a01 a02 a03 a04 a10 a11 ... a34), separated by whitespace and/or a comma.
type="saturate"
,
值
is a single real number value (0 to 1).
type="hueRotate"
,
值
is a single one real number value (degrees).
type="luminanceToAlpha"
,
值
is not applicable.
| 规范 | 状态 | 注释 |
|---|---|---|
|
Filter Effects Module Level 1
The definition of 'values for <feColorMatrix>' in that specification. |
工作草案 | 无变化 |
|
SVG Animations Level 2
The definition of 'values for <animate>, <animateColor>, <animateMotion>, and <animateTransform>' in that specification. |
编者草案 | 无变化 |
|
Scalable Vector Graphics (SVG) 1.1 (Second Edition)
The definition of 'values for <feColorMatrix>' in that specification. |
推荐 |
Initial definition for
<feColorMatrix>
|
|
Scalable Vector Graphics (SVG) 1.1 (Second Edition)
The definition of 'values for <animate>, <animateColor>, <animateMotion>, and <animateTransform>' in that specification. |
推荐 |
Initial definition for
<animate>
,
<animateColor>
,
<animateMotion>
,和
<animateTransform>
|
最后修改: , 由 MDN 贡献者