The members of Android.Graphics.Bitmap are listed below.
See Also: Inherited members from Java.Lang.Object
const | DensityNone | int (0). Indicates that the bitmap was created for an unknown pixel density. |
[read-only] | AllocationByteCount | int. Returns the size of the allocated memory used to store this bitmap's pixels. |
[read-only] | ByteCount | int. Returns the minimum number of bytes that can be used to store this bitmap's pixels. |
[read-only] static | Creator | Android.OS.IParcelableCreator. |
Density | int. | |
[read-only] | GenerationId | int. Returns the generation ID of this bitmap. |
HasAlpha | bool. Returns true if the bitmap's config supports per-pixel alpha, and if the pixels may contain non-opaque alpha values. | |
HasMipMap | bool. Indicates whether the renderer responsible for drawing this bitmap should attempt to use mipmaps when this bitmap is drawn scaled down. | |
Height | int. Returns the bitmap's height | |
[read-only] | IsMutable | bool. Returns true if the bitmap is marked as mutable (i.e. can be drawn into) |
[read-only] | IsRecycled | bool. Returns true if this bitmap has been recycled. |
Premultiplied | bool. | |
[read-only] | RowBytes | int. Return the number of bytes between rows in the bitmap's pixels. |
Width | int. Returns the bitmap's width |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
Compress(Bitmap.CompressFormat, int, System.IO.Stream)Write a compressed version of the bitmap to the specified outputstream. | ||
CompressAsync(Bitmap.CompressFormat, int, System.IO.Stream)Documentation for this section has not yet been entered. | ||
Copy(Bitmap.Config, bool)Tries to make a new bitmap based on the dimensions of this bitmap, setting the new bitmap's config to the one specified, and then copying this bitmap's pixels into the new bitmap. | ||
CopyPixelsFromBuffer(Java.Nio.Buffer) | ||
CopyPixelsFromBufferAsync(Java.Nio.Buffer)Documentation for this section has not yet been entered. | ||
CopyPixelsToBuffer(Java.Nio.Buffer) | ||
CopyPixelsToBufferAsync(Java.Nio.Buffer)Documentation for this section has not yet been entered. | ||
static | CreateBitmap(Bitmap)Returns an immutable bitmap from the source bitmap. | |
static | CreateBitmap(int, int, Bitmap.Config)Returns a mutable bitmap with the specified width and height. | |
static | CreateBitmap(Android.Util.DisplayMetrics, int, int, Bitmap.Config)Returns a mutable bitmap with the specified width and height. | |
static | CreateBitmap(int[], int, int, Bitmap.Config)Returns a immutable bitmap with the specified width and height, with each pixel value set to the corresponding value in the colors array. | |
static | CreateBitmap(Bitmap, int, int, int, int)Returns an immutable bitmap from the specified subset of the source bitmap. | |
static | CreateBitmap(Android.Util.DisplayMetrics, int[], int, int, Bitmap.Config)Returns a immutable bitmap with the specified width and height, with each pixel value set to the corresponding value in the colors array. | |
static | CreateBitmap(int[], int, int, int, int, Bitmap.Config)Returns a immutable bitmap with the specified width and height, with each pixel value set to the corresponding value in the colors array. | |
static | CreateBitmap(Bitmap, int, int, int, int, Matrix, bool)Returns an immutable bitmap from subset of the source bitmap, transformed by the optional matrix. | |
static | CreateBitmap(Android.Util.DisplayMetrics, int[], int, int, int, int, Bitmap.Config)Returns a immutable bitmap with the specified width and height, with each pixel value set to the corresponding value in the colors array. | |
static | CreateScaledBitmap(Bitmap, int, int, bool)Creates a new bitmap, scaled from an existing bitmap, when possible. | |
DescribeContents()No special parcel contents. | ||
EraseColor(int)Fills the bitmap's pixels with the specified Android.Graphics._Color. | ||
ExtractAlpha()Returns a new bitmap that captures the alpha values of the original. | ||
ExtractAlpha(Paint, int[])Returns a new bitmap that captures the alpha values of the original. | ||
GetBitmapInfo()Documentation for this section has not yet been entered. | ||
GetConfig()If the bitmap's internal config is in one of the public formats, return that config, otherwise return null. | ||
GetNinePatchChunk()Returns an optional array of private data, used by the UI system for some bitmaps. | ||
GetPixel(int, int)Returns the Android.Graphics._Color at the specified location. | ||
GetPixels(int[], int, int, int, int, int, int)Returns in pixels[] a copy of the data in the bitmap. | ||
GetScaledHeight(Canvas)Convenience for calling Bitmap.GetScaledHeight(int) with the target density of the given Android.Graphics.Canvas. | ||
GetScaledHeight(Android.Util.DisplayMetrics)Convenience for calling Bitmap.GetScaledHeight(int) with the target density of the given Android.Util.DisplayMetrics. | ||
GetScaledHeight(int)Convenience method that returns the height of this bitmap divided by the density scale factor. | ||
GetScaledWidth(Canvas)Convenience for calling Bitmap.GetScaledWidth(int) with the target density of the given Android.Graphics.Canvas. | ||
GetScaledWidth(Android.Util.DisplayMetrics)Convenience for calling Bitmap.GetScaledWidth(int) with the target density of the given Android.Util.DisplayMetrics. | ||
GetScaledWidth(int)Convenience method that returns the width of this bitmap divided by the density scale factor. | ||
LockPixels()Documentation for this section has not yet been entered. | ||
PrepareToDraw()Rebuilds any caches associated with the bitmap that are used for drawing it. | ||
Reconfigure(int, int, Bitmap.Config) | ||
Recycle()Free the native object associated with this bitmap, and clear the reference to the pixel data. | ||
SameAs(Bitmap)Given another bitmap, return true if it has the same dimensions, config, and pixel data as this bitmap. | ||
SetConfig(Bitmap.Config) | ||
SetPixel(int, int, Color) | ||
SetPixels(int[], int, int, int, int, int, int) | ||
UnlockPixels()Documentation for this section has not yet been entered. | ||
WriteToParcel(Android.OS.Parcel, Android.OS.ParcelableWriteFlags)Write the bitmap and its pixels to the parcel. |