radius

radius attribute represents the radius (or radii) for the operation on a given <feMorphology> filter primitive.

If two numbers are provided, the first number represents the x-radius and the second one the y-radius. If one number is provided, then that value is used for both x and y. The values are in the coordinate system established by the primitiveUnits 属性在 <filter> 元素。

A negative or zero value disables the effect of the given filter primitive (i.e., the result is the filter input image).

You can use this attribute with the following SVG elements:

用法注意事项

<number-optional-number>
默认值 0
Animatable Yes

规范

规范 状态 注释
Filter Effects Module Level 1
The definition of 'radius' in that specification.
工作草案 无变化
Scalable Vector Graphics (SVG) 1.1 (Second Edition)
The definition of 'radius' in that specification.
推荐 初始定义

浏览器兼容性

BCD tables only load in the browser

Found a problem with this page?

最后修改: , 由 MDN 贡献者