大网数据广告活动
Web 标准与前端开发

type

· 52CE 我爱测

对于animateTransform元素 , 它决定了那些随时间变化的值的转换的类型 - 对于 feColorMatrix 元素,它指明了矩阵运算的类型。关键词 `matrix` 表明一个全 5x4 矩阵的值会被提供。其他关键字快捷方式代表允许不执行复杂矩阵运算下使用常用颜色。 - 对于feFuncR, feFuncG, feFuncB, 和feFuncA 元素,它指明了组件传递函数的类型。 - 对于 feTurbulence 元素,它表示应以噪声函数还是湍流函数执行过滤。 - 对于 style 和 script 元素,它定义了元素内容的类型。

type 属性是一个类属性,他在不同的使用语境下有不同的意思。

  • 对于animateTransform元素 , 它决定了那些随时间变化的值的转换的类型
  • 对于 feColorMatrix 元素,它指明了矩阵运算的类型。关键词 matrix 表明一个全 5x4 矩阵的值会被提供。其他关键字快捷方式代表允许不执行复杂矩阵运算下使用常用颜色。
  • 对于feFuncR, feFuncG, feFuncB, 和feFuncA 元素,它指明了组件传递函数的类型。
  • 对于 feTurbulence 元素,它表示应以噪声函数还是湍流函数执行过滤。
  • 对于 style 和 script 元素,它定义了元素内容的类型。

Usage context

For the animateTransform elements

Categories None
Value translate | scale | rotate | skewX | skewY
Animatable No
Normative document SVG 1.1 (2nd Edition)

For the feColorMatrix element

Categories None
Value matrix | saturate | hueRotate | luminanceToAlpha
Animatable Yes
Normative document SVG 1.1 (2nd Edition)

For the feFuncR, feFuncG, feFuncB, and feFuncA elements

Categories None
Value identity | table | discrete | linear | gamma
Animatable Yes
Normative document SVG 1.1 (2nd Edition)

For the feTurbulence element

Categories None
Value fractalNoise | turbulence
Animatable Yes
Normative document SVG 1.1 (2nd Edition)

For the style and script elements

Categories None
Value <content-type>
Animatable No
Normative document SVG 1.1 (2nd Edition) : script SVG 1.1 (2nd Edition) : style

Example

Elements

The following elements can use the values attribute

  • animateTransform
  • feColorMatrix
  • feFuncA
  • feFuncB
  • feFuncG
  • feFuncR
  • feTurbulence
  • script
  • style

来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。

资料来源与适用范围

资料来源
MDN Web Docs / Mozilla 贡献者
适用范围
请按文中版本与环境说明核对
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 2.5

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。