语言

ImageReader.Width 属性

定义

默认宽度 Image Images(以像素为单位)。

public virtual int Width { [Android.Runtime.Register("getWidth", "()I", "GetGetWidthHandler")] get; }
[<get: Android.Runtime.Register("getWidth", "()I", "GetGetWidthHandler")>]
member this.Width : int

属性值

图像的预期宽度

特性

注解

默认宽度 Image Images(以像素为单位)。

生成者可将缓冲区发送到此 ImageReader 的Surface覆盖宽度。 如果是这样,可以使用 找到 Image#getWidth图像的实际宽度。

Java文档android.media.ImageReader.getWidth()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于