我們的志工尚未將此文章翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!

« SVG Attribute reference home

This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

A <filter> element can define a region to which a given filter effect applies and can provide a resolution for any intermediate continuous tone images used to process any raster-based filter primitives.

The filterRes attribute takes the form x-pixels [y-pixels], and indicates the width and height of the intermediate images in pixels.

Take care when assigning a non-default value to this attribute. Too small of a value may result in unwanted pixelation in the result. Too large of a value may result in slow processing and large memory usage.

Note that negative values or zero values disable the rendering of the element which referenced the filter.

Usage context

Categories None
Value <number-optional-number>
Animatable Yes
Normative document SVG 1.1 (2nd Edition)



The following elements can use the filterRes attribute:


 此頁面的貢獻者: jpmedley, Jeremie
 最近更新: jpmedley,