Udostępnij za pośrednictwem


ImageWriter.Width Property

Definition

The width of Image Images, in pixels.

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

Property Value

the expected actual width of an Image.

Attributes

Remarks

The width of Image Images, in pixels.

If Builder#setWidthAndHeight is not called, the default width of the Image depends on the Surface provided by customer end-point.

Java documentation for android.media.ImageWriter.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