feGaussianBlur element | SVGFEGaussianBlurElement object

Performs a Gaussian blur on the input image.

Scalable Vector Graphics: Filter Effects, Section 15.25.19Internet Explorer 10

Syntax


<feGaussianBlur in="SourceAlpha" 
                stdDeviationX="4" 
                stdDeviationY="4" 
                result="blur"/>

DOM Information

Inheritance Hierarchy

 Node
  Element
   SVGElement
     SVGFEGaussianBlurElement

Members

The SVGFEGaussianBlurElement object has these types of members:

Methods

The SVGFEGaussianBlurElement object has these methods.

MethodDescription
setStdDeviation

Sets the standard deviation values used in calculating a Gaussian blur.

 

Properties

The SVGFEGaussianBlurElement object has these properties.

PropertyDescription

height

Gets or sets the height of an element.

in1

Identifies input for the given filter primitive.

result

Provides a reference for the output result of a filter.

stdDeviationX

Gets a value that indicates the standard deviation in the x-direction, used in calculating a Gaussian blur.

stdDeviationY

Gets a value that indicates the standard deviation in the y-direction, used in calculating a Gaussian blur.

width

Defines the width of an element.

x

Gets or sets the x-coordinate value.

y

Gets or sets the y-coordinate value.

 

Standards information

Remarks

The Gaussian blur kernel is an approximation of the normalized convolution G(x,y) = H(x)I(y), where H(x) = exp(-x2/ (2s2)) / sqrt(2* pi*s2) and I(y) = exp(-y2/ (2t2)) / sqrt(2* pi*t2) with 's' being the standard deviation in the x direction and 't' being the standard deviation in the y direction, as specified by the stdDeviationX and stdDeviationY properties.

 

 

Show:
© 2014 Microsoft