values

ยซ SVG Attribute reference home

values ์†์„ฑ์€ ์‚ฌ์šฉํ•˜๋Š” ๋งฅ๋ฝ์— ๋”ฐ๋ผ ํฌ๊ฒŒ ๋‘ ๊ฐ€์ง€ ์˜๋ฏธ๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค.

์• ๋‹ˆ๋ฉ”์ด์…˜ ์š”์†Œ์˜ ๊ฒฝ์šฐ, values ์†์„ฑ์€ ์„ธ๋ฏธ์ฝœ๋ก ์œผ๋กœ ๊ตฌ๋ถ„๋œ ํ•˜๋‚˜ ์ด์ƒ์˜ ๊ฐ’ ๋ชฉ๋ก์ž…๋‹ˆ๋‹ค. ์• ๋‹ˆ๋ฉ”์ด์…˜์€ ์• ๋‹ˆ๋ฉ”์ด์…˜ ๊ณผ์ •์—์„œ ์ˆœ์„œ๋Œ€๋กœ ๊ฐ’์„ ์ ์šฉํ•ฉ๋‹ˆ๋‹ค. ๊ฐ’ ๋ชฉ๋ก์ด ์ง€์ •๋˜๋ฉด  from (en-US), to (en-US) ๊ทธ๋ฆฌ๊ณ  by (en-US) ์†์„ฑ ๊ฐ’์€ ๋ฌด์‹œ๋ฉ๋‹ˆ๋‹ค.

<feColorMatrix> (en-US) ์š”์†Œ์˜ ๊ฒฝ์šฐ ๊ฐ’์˜ ๋‚ด์šฉ์€ type (en-US) ์†์„ฑ์˜ ๊ฐ’์— ๋”ฐ๋ผ ๋‹ค๋ฆ…๋‹ˆ๋‹ค: 

  • For type="matrix", values is a list of 20 matrix values (a00 a01 a02 a03 a04 a10 a11 ... a34), separated by whitespace and/or a comma.
  • For type="saturate", values is a single real number value (0 to 1).
  • For type="hueRotate", values is a single one real number value (degrees).
  • For type="luminanceToAlpha", values is not applicable.

If the attribute is not specified, then the default behavior depends on the value of attribute type (en-US).

  • If type="matrix", then this attribute defaults to the identity matrix.
  • If type="saturate", then this attribute defaults to the value 1, which results in the identity matrix.
  • If type="hueRotate", then this attribute defaults to the value 0, which results in the identity matrix.

Usage context

For animation elements

Categories Animation value attribute
Value <list>
Animatable No
Normative document SVG 1.1 (2nd Edition)

For the <feColorMatrix> (en-US) element

Categories None
Value <list> | <number>
Animatable Yes
Normative document SVG 1.1 (2nd Edition)

์˜ˆ์ œ

Elements

The following elements can use the values attribute