Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

type

この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!

« SVG Attribute reference home

The type 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 keyword matrix 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.

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

ドキュメントのタグと貢献者

 このページの貢献者: Jeremie, jswisher
 最終更新者: Jeremie,