VideoFrame: visibleRect プロパティ
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
visibleRect
は VideoFrame
インターフェイスのプロパティで、この VideoFrame
の可視矩形のピクセル数を表す DOMRectReadOnly
を返します。
値
DOMRectReadOnly
です。
例
次の例は visibleRect
をコンソールに出力します。
js
console.log(VideoFrame.visibleRect);
仕様書
Specification |
---|
WebCodecs # dom-videoframe-visiblerect |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
visibleRect |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.