pixelRadius Attribute | PixelRadius Property

This topic documents a feature of Visual Filters and Transitions, which is deprecated as of Windows Internet Explorer 9.

Sets or retrieves the radius of the area of opaque content around a pixel that is affected by the Blur filter.


{ filter:progid:DXImageTransform.Microsoft.Blur(
pixelRadius = flRadius ... ) ... }
"DXImageTransform.Microsoft.Blur").PixelRadius [ = flRadius ]

Possible Values

flRadius Floating-point that specifies or receives the following possible values.
1.0 - 100.0
Radius, in pixels, of the area affected by blurring.

The property is read/write. The property has a default value of 2.0.


When PixelRadius is set to a value between 0.0 and 1.0 pixels, the filter is ignored. When it is set to a value greater than 100 pixels, the property defaults to 2.0 pixels.


This example places a shadow under the content of a DIV object. The DIV object is duplicated. The first DIV object displays the shadow, and the second DIV object is unfiltered.

    <DIV ID="oDiv" STYLE="position:absolute; left:70px; filter: 
            progid:DXImageTransform.Microsoft.blur(pixelradius=3.0, makeshadow='true', ShadowOpacity=1.0)" >
        An image - >    
        <IMG SRC='/workshop/graphics/earglobe.gif' />
    <DIV ID="oDiv" STYLE="position:absolute; left:70px; " >
        An image - >    
        <IMG SRC='/workshop/graphics/earglobe.gif' />

Applies To


See Also

ShadowOpacity, MakeShadow, Scripting Filters, Filter Design Considerations