ImageData: height プロパティ
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.
読み取り専用プロパティ ImageData.height
は、ImageData
オブジェクトの行数を返します。
値
数値です。
例
この例では、幅 200 ピクセル、高さ 100 ピクセルの ImageData
オブジェクトを生成します。したがって、height
プロパティは 100
です。
js
let imageData = new ImageData(200, 100);
console.log(imageData.height); // 100
仕様書
Specification |
---|
HTML # dom-imagedata-height-dev |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | server | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
height |
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.