filterUnits

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

filterUnits 属性は、 x, y, width, height 属性の座標系を定義します。

この属性は以下の SVG 要素で使用することができます。

使用上のメモ

userSpaceOnUse | objectBoundingBox
既定値 objectBoundingBox
アニメーション
userSpaceOnUse

xywidthheight は、 <filter> 要素が参照される時点で配置されている現在のユーザー座標系(すなわち、 filter 属性を介して <filter> 要素を参照している要素のユーザー座標系)。

objectBoundingBox

この場合、xywidthheight は、参照要素上の囲みボックスの割合またはパーセント値を表します。

仕様書

Specification
Filter Effects Module Level 1
# element-attrdef-filter-filterunits

ブラウザーの互換性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
filterUnits

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support