Android Guides | Samples

Android.Graphics.Bitmap.Config Class

Possible bitmap configurations.

See Also: Bitmap+Config

Syntax

[Android.Runtime.Register("android/graphics/Bitmap$Config", DoNotGenerateAcw=true)]
public sealed class Bitmap.Config : Enum

Remarks

Possible bitmap configurations. A bitmap configuration describes how pixels are stored. This affects the quality (color depth) as well as the ability to display transparent/translucent colors.

[Android Documentation]

Requirements

Namespace: Android.Graphics
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Android.Graphics.Bitmap.Config are listed below.

See Also: Enum

Public Properties

[read-only]
static
Alpha8Bitmap+Config. Each pixel is stored as a single translucency (alpha) channel.
[read-only]
static
Argb4444Bitmap+Config. Each pixel is stored on 2 bytes.
[read-only]
static
Argb8888Bitmap+Config. Each pixel is stored on 4 bytes.
[read-only]
static
Rgb565Bitmap+Config. Each pixel is stored on 2 bytes and only the RGB channels are encoded: red is stored with 5 bits of precision (32 possible values), green is stored with 6 bits of precision (64 possible values) and blue is stored with 5 bits of precision.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods