Back to Fresco

CloseableBitmap

docs/javadoc/reference/com/facebook/imagepipeline/image/CloseableBitmap.html

3.6.014.4 KB
Original Source

Fresco

|

|

Packages | Classes

Interfaces

Classes

Enums

Packages | Classes

Summary: Ctors | Methods | Inherited Methods | [Expand All]

public abstract class

CloseableBitmap

extends CloseableImage

| java.lang.Object | | ↳ | com.facebook.imagepipeline.image.CloseableImage | | | ↳ | com.facebook.imagepipeline.image.CloseableBitmap |

| Known Direct Subclasses

CloseableStaticBitmap

| CloseableStaticBitmap | CloseableImage that contains one Bitmap. |

|

Class Overview

CloseableImage that wraps a bitmap.

Summary

Public Constructors
Public Methods
abstract Bitmap
Gets the underlying bitmap.

| [Expand] Inherited Methods | | --- | | From class com.facebook.imagepipeline.image.CloseableImage

| abstract void | close() Closes this instance and releases the resources. | | void | finalize() Ensures that the underlying resources are always properly released. | | Map<String, Object> | getExtras() | | QualityInfo | getQualityInfo() Returns quality information for the image. | | abstract int | getSizeInBytes() | | abstract boolean | isClosed() Returns whether this instance is closed. | | boolean | isStateful() Whether or not this image contains state for a particular view of the image (for example, the image for an animated GIF might contain the current frame being viewed). | | void | setImageExtras(Map<String, Object> extras) Sets extras that match mImageExtrasList to this image from supplied extras |

| | From class java.lang.Object

| Object | clone() | | boolean | equals(Object arg0) | | void | finalize() | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |

| | From interface com.facebook.imagepipeline.image.HasImageMetadata

| abstract Map<String, Object> | getExtras() |

| | From interface com.facebook.imagepipeline.image.ImageInfo

| abstract int | getHeight() | | abstract QualityInfo | getQualityInfo() | | abstract int | getWidth() |

| | From interface java.io.Closeable

| abstract void | close() |

| | From interface java.lang.AutoCloseable

| abstract void | close() |

|

Public Constructors

public CloseableBitmap()

Public Methods

public abstract Bitmap getUnderlyingBitmap()

Gets the underlying bitmap. Note: care must be taken because subclasses might be more sophisticated than that. For example, animated bitmap may have many frames and this method will only return the first one.

Returns
  • the underlying bitmap

+Generated by Doclava. +