filterUnits
« SVG Attribute reference home
filterUnits属性は、 x, y, width (en-US) そして height (en-US) の座標系を定義します。
もしfilterUnits属性が指定されていない場合、objectBoundingBoxが指定されているのと同じになります。
Usage context
| Categories | None |
|---|---|
| Value | userSpaceOnUse | objectBoundingBox |
| Animatable | Yes |
| Normative document | SVG 1.1 (2nd Edition) |
- userSpaceOnUse
-
x,y,width (en-US)andheight (en-US)represent values in the current coordinate system that results from taking the current user coordinate system in place at the time when the<filter>(en-US) element is referenced (i.e., the user coordinate system for the element referencing the<filter>(en-US) element via afilter (en-US)attribute). - objectBoundingBox
-
In that case,
x,y,width (en-US)andheight (en-US)represent fractions or percentages of the bounding box on the referencing element.
Examples
Elements
The following elements can use the filterUnits attribute: