FilterType Attribute | FilterType参数属性
| DHTML文档教程 |
Sets or retrieves the method used to define pixels of new content.
dhtml语法
HTML | { filter:progid:dximagetransform.microsoft. matrix( filtertype = stype ... ) ... } |
---|
scripting | |
---|
dhtml可能的值
sType | String that
specifies or receives one of the following values.bilinear | Default. Uses bilinear method to define the color content of target pixels. | nearest neighbor | Uses nearest neighbor method to define the color content of target pixels. |
|
The property is read/write.
The property has a default value of
bilinear.
Remarks
For the best static filter results, the bilinear method provides a smoother image. However, when used for an animated series of images, the nearest neighbor method is computed faster and can produce more images per second of animation.
Applies To
更多语法参考
scripting filters, Filter Design Considerations