We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

ImageData.height

只读的 ImageData.height 属性,返回在图像数据对象中的行的数量。

语法

imagedata.height

示例

var imagedata = new ImageData(100, 100);
imagedata.height; // 100

规范描述

Specification Status Comment
HTML Living Standard
ImageData.height
Living Standard  

浏览器兼容性

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support (Yes) 14 (14) 9.0 9.0 3.1
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support (Yes) 14.0 (14) (Yes) (Yes) (Yes)

参见

 

文档标签和贡献者

此页面的贡献者: ice-i-snow
最后编辑者: ice-i-snow,