android.graphics
Class BitmapRegionDecoder
java.lang.Object
android.graphics.BitmapRegionDecoder
public final class BitmapRegionDecoder
- extends Object
newInstance
public static BitmapRegionDecoder newInstance(byte[] data,
int offset,
int length,
boolean isShareable)
throws IOException
- Throws:
IOException
newInstance
public static BitmapRegionDecoder newInstance(FileDescriptor fd,
boolean isShareable)
throws IOException
- Throws:
IOException
newInstance
public static BitmapRegionDecoder newInstance(InputStream is,
boolean isShareable)
throws IOException
- Throws:
IOException
newInstance
public static BitmapRegionDecoder newInstance(String pathName,
boolean isShareable)
throws IOException
- Throws:
IOException
decodeRegion
public Bitmap decodeRegion(Rect rect,
BitmapFactory.Options options)
getWidth
public int getWidth()
getHeight
public int getHeight()
recycle
public void recycle()
isRecycled
public final boolean isRecycled()
finalize
protected void finalize()
throws Throwable
- Overrides:
finalize
in class Object
- Throws:
Throwable
Copyright © 2008-2012. All Rights Reserved.