Sets the standard deviation values used in calculating a Gaussian blur.
Syntaxvar retval = SVGFEGaussianBlurElement.setStdDeviation(stdDeviationX, stdDeviationY);
- stdDeviationX [in]
The standard deviation in the x-direction, specified by the stdDeviationX property.
- stdDeviationY [in]
The standard deviation in the y-direction, specified by the stdDeviationY property.
This method can return one of these values.
- Scalable Vector Graphics: Filter Effects, Section 15.25.19
If two values are provided, the first value represents a standard deviation value along the x-axis of the coordinate system established by the primitiveUnits attribute on the filter element. The second value represents a standard deviation along the y-axis.
If one number is provided, then that value is used for both stdDeviationX and stdDeviationY.
Negative values are not allowed.
A value of zero disables the effect of the given filter primitive (that is, the result is the filter input image). If the stdDeviation method is zero in only one of stdDeviationX or stdDeviationY, then the effect is that the blur is applied only in the direction that has a non-zero value.
If the stdDeviation method is not specified, then the effect is as if a value of zero were specified.