Share via


Display.PixelFormat Property

Definition

Caution

deprecated

Gets the pixel format of the display.

[System.Obsolete("deprecated")]
public virtual Android.Graphics.Format PixelFormat { [Android.Runtime.Register("getPixelFormat", "()I", "GetGetPixelFormatHandler")] get; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getPixelFormat", "()I", "GetGetPixelFormatHandler")>]
member this.PixelFormat : Android.Graphics.Format

Property Value

One of the constants defined in android.graphics.PixelFormat.

Attributes

Remarks

Gets the pixel format of the display.

This member is deprecated. This method is no longer supported. The result is always PixelFormat#RGBA_8888.

Java documentation for android.view.Display.getPixelFormat().

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