Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. SVG
  3. Reference
  4. Attributes
  5. type

type

Thetype attribute is a generic attribute and it has different meaning based on the context in which it's used.

  • For the<animateTransform> element, it defines the type of transformation, whose values change over time.
  • For the<feColorMatrix> element, it indicates the type of matrix operation. The keywordmatrix indicates that a full 5x4 matrix of values will be provided. The other keywords represent convenience shortcuts to allow commonly used color operations to be performed without specifying a complete matrix.
  • For the<feFuncR>,<feFuncG>,<feFuncB>, and<feFuncA> elements, it Indicates the type of component transfer function.
  • For the<feTurbulence> element, it indicates whether the filter primitive should perform a noise or turbulence function.
  • For the<style> and<script> elements, it defines the content type of the element.

You can use this attribute with the following SVG elements:

Usage context

For the <animateTransform> elements

SVG element:<animateTransform>

CategoriesNone
Valuetranslate |scale |rotate |skewX |skewY
AnimatableNo
Normative documentScalable Vector Graphics (SVG) 2

For the <feColorMatrix> element

SVG element:<feColorMatrix>

CategoriesNone
Valuematrix |saturate |hueRotate |luminanceToAlpha
AnimatableYes
Normative documentFilter Effects Module Level 1

For the <feFuncR>, <feFuncG>, <feFuncB>, and <feFuncA> elements

SVG elements:<feFuncR>,<feFuncG>,<feFuncB>,<feFuncA>

CategoriesNone
Valueidentity |table |discrete |linear |gamma
AnimatableYes
Normative documentFilter Effects Module Level 1

For the <feTurbulence> element

SVG element:<feTurbulence>

CategoriesNone
ValuefractalNoise |turbulence
AnimatableYes
Normative documentFilter Effects Module Level 1

For the <style> and <script> elements

SVG elements:<style>,<script>

CategoriesNone
Value<media-type>
AnimatableNo
Normative documentScalable Vector Graphics (SVG) 2
Scalable Vector Graphics (SVG) 2

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp