VideoFrame: codedRect プロパティ
codedRect
は VideoFrame
インターフェイスのプロパティで、幅と高さが VideoFrame.codedWidth
と VideoFrame.codedHeight
に一致する DOMRectReadOnly
を返します。
値
DOMRectReadOnly
です。
例
次の例は codedRect
をコンソールに出力します。
js
console.log(VideoFrame.codedRect);
仕様書
Specification |
---|
WebCodecs # dom-videoframe-codedrect |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
codedRect |
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.