Sdílet prostřednictvím


ImageReader.Width Property

Definition

The default width of Image Images, in pixels.

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

Property Value

the expected width of an Image

Attributes

Remarks

The default width of Image Images, in pixels.

The width may be overridden by the producer sending buffers to this ImageReader's Surface. If so, the actual width of the images can be found using Image#getWidth.

Java documentation for android.media.ImageReader.getWidth().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to