RasterDecoder

Created by svennahler on 12.01.17.

abstract class RasterDecoder

Constructors

RasterDecoder
Link copied to clipboard
open fun RasterDecoder(resources: Resources, resourceId: Int)
RasterDecoder
Link copied to clipboard
open fun RasterDecoder(resources: Resources, uri: Uri)

Functions

decodeAsBitmap
Link copied to clipboard
abstract fun decodeAsBitmap(slice: MultiRect, sampleSize: Int): Bitmap
getBitmap
Link copied to clipboard
open fun getBitmap(slice: MultiRect, sampleSize: Int): Bitmap
open fun getBitmap(bounds: RectF, region: RectF): Bitmap
open fun getBitmap(boundsWidth: Int, boundsHeight: Int, fitIntoBounds: Boolean, state: DrawableState): Bitmap
isVector
Link copied to clipboard
open fun isVector(): Boolean