W3cubDocs

/SVG

k2

The k2 attribute defines one of the value to be used within the the arithmetic operation of the <feComposite> filter primitive. If this attribute is not set, its default value is 0.

The pixel composition is computed using the following formula:

result = k1*i1*i2 + k2*i1 + k3*i2 + k4

Usage context

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

Example

Elements

The following elements can use the k2 attribute

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/k2