divisor property
Affects the final destination color value of the filter.
This property is read-only.
![]() ![]() |
Syntax
| JavaScript |
|---|
number = object.divisor |
Property values
Type: SVGAnimatedNumber
Affects the final destination color value of the filter.
Standards information
- Scalable Vector Graphics: Filter Effects, Section 15.25.12
Remarks
After applying the kernelMatrix to the input image to yield a number, that number is divided by divisor to yield the final destination color value. A divisor that is the sum of all the matrix values tends to have an evening effect on the overall color intensity of the result. It is an error to specify a divisor of zero. The default value is the sum of all values in kernelMatrix, with the exception that if the sum is zero, then the divisor is set to 1.
See also
Show:

