public final class BitmapRegionDecoder extends Object
| Modifier and Type | Method and Description |
|---|---|
Bitmap |
decodeRegion(Rect rect,
BitmapFactory.Options options) |
protected void |
finalize() |
int |
getHeight() |
int |
getWidth() |
boolean |
isRecycled() |
static BitmapRegionDecoder |
newInstance(byte[] data,
int offset,
int length,
boolean isShareable) |
static BitmapRegionDecoder |
newInstance(FileDescriptor fd,
boolean isShareable) |
static BitmapRegionDecoder |
newInstance(InputStream is,
boolean isShareable) |
static BitmapRegionDecoder |
newInstance(String pathName,
boolean isShareable) |
void |
recycle() |
public static BitmapRegionDecoder newInstance(byte[] data, int offset, int length, boolean isShareable) throws IOException
IOExceptionpublic static BitmapRegionDecoder newInstance(FileDescriptor fd, boolean isShareable) throws IOException
IOExceptionpublic static BitmapRegionDecoder newInstance(InputStream is, boolean isShareable) throws IOException
IOExceptionpublic static BitmapRegionDecoder newInstance(String pathName, boolean isShareable) throws IOException
IOExceptionpublic Bitmap decodeRegion(Rect rect, BitmapFactory.Options options)
public int getWidth()
public int getHeight()
public void recycle()
public final boolean isRecycled()
Copyright © 2008-2013. All Rights Reserved.