bias

« SVG Attribute reference home

The bias attribute shifts the range of the filter. After applying the kernelMatrix of the <feconvolvematrix> element to the input image to yield a number and applied the divisor attribute, the bias attribute is added to each component. This allows representation of values that would otherwise be clamped to 0 or 1.

If bias is not specified, then the effect is as if a value of 0 were specified.

Usage context

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

Example

Elements

The following elements can use the bias attribute

Document Tags and Contributors

 Contributors to this page: Jeremie
 Last updated by: Jeremie,