filterunits
该filterUnits属性为x,y,width和height属性定义坐标系。
如果filterUnits没有指定属性,那么效果就好像objectBoundingBox指定了值。
用法上下文
Categories | None |
|---|---|
Value | userSpaceOnUse | objectBoundingBox |
Animatable | Yes |
Normative document | SVG 1.1 (2nd Edition) |
userSpaceOnUse ——x,y,width和height表示在当前坐标系中,当<filter>元素被引用时,从当前的用户坐标系取得的值(即,经由filter属性引用<filter>元素的元素的用户坐标系)。objectBoundingBox——在该情况下,x,y,width和height代表参考元素上的边界框的分数或百分比。
实例
适用元素
以下元素可以使用该filterUnits属性:
<filter>
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com

