MotionBlur兼容性:IE4.0+
语法:
filter : progid:DXImageTransform.Microsoft.MotionBlur ( enabled=bEnabled , add=bAddImage , direction=iOffset , strength=iDistance )
属性:
enabled : 可选项。布尔值(Boolean)。设置或检索滤镜是否激活。true | false
true :默认值。滤镜激活。
false :滤镜被禁止。
add : 可选项。布尔值(Boolean)。设置或检索滤镜作用图像是否覆盖原始图像。true | false
true :滤镜作用图像覆盖原始图像。
false :默认值。只显示滤镜作用图像。
direction : 可选项。整数值(Integer)。设置或检索滤镜效果的运动偏移方向。默认单位为角度。0 | 45 | 90 | 135 | 180 | 225 | 270 | 315
小于 0 或大于 360 的值会自动转换为 0 - 360 之间的值。例如, -45 会转换为 315
0 :上。
45 :右上。
90 :下。
135 :右下。
180 :下。
225 :左下。
270 :默认值。左。
315 :左上。
strength : 可选项。整数值(Integer)。单位为像素( px )。设置或检索以对象为基准的在运动方向上的向外扩散距离。取值范围为 >=0 。默认值为 5
特性:
Enabled :可读写。布尔值(Boolean)。参阅 enabled 属性。
Add :可读写。布尔值(Boolean)。参阅 add 属性。
Direction :可读写。整数值(Integer)。参阅 direction 属性。
Strength :可读写。整数值(Integer)。参阅 strength 属性。
说明:
为对象内容制作运动模糊效果。
示例:
DIV.aFilter {filter:progid:DXImageTransform.Microsoft.MotionBlur(Strength=5,Direction=90);}
#oDIV {filter:progid:DXImageTransform.Microsoft.MotionBlur(Strength=10, Direction=45, Add='true');}