Android.Graphics.BitmapRegionDecoder Members

The members of Android.Graphics.BitmapRegionDecoder are listed below.

See Also: Inherited members from Java.Lang.Object

Public Properties

[read-only]
Heightint. Returns the original image's height
[read-only]
IsRecycledbool. Returns true if this region decoder has been recycled.
[read-only]
Widthint. Returns the original image's width

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

DecodeRegion(Rect, BitmapFactory.Options) : Bitmap
Decodes a rectangle region in the image specified by rect.
static
NewInstance(Java.IO.FileDescriptor, bool) : BitmapRegionDecoder
Create a BitmapRegionDecoder from the file descriptor.
static
NewInstance(System.IO.Stream, bool) : BitmapRegionDecoder
Create a BitmapRegionDecoder from an input stream.
static
NewInstance(string, bool) : BitmapRegionDecoder
Create a BitmapRegionDecoder from a file path.
static
NewInstance(byte[], int, int, bool) : BitmapRegionDecoder
Create a BitmapRegionDecoder from the specified byte array.
Recycle()
Frees up the memory associated with this region decoder, and mark the region decoder as "dead", meaning it will throw an exception if decodeRegion(), getWidth() or getHeight() is called.