ImageSource
open class ImageSource
Content copied to clipboard
Types
NonStaticResourceException
Link copied to clipboard
UnsupportedFormatException
Link copied to clipboard
UnsupportedSourceException
Link copied to clipboard
Functions
create
Link copied to clipboard
open fun create(canvasDrawable: Class<Out CanvasDecoderDrawable>): ImageSource
Content copied to clipboard
open fun create(canvasDrawable: Class<Out CanvasDecoderDrawable>, variant: Int): ImageSource
Content copied to clipboard
createFromBase64String
Link copied to clipboard
describeContents
Link copied to clipboard
fixExifRotation
Link copied to clipboard
open fun fixExifRotation()
Content copied to clipboard
getAsBase64
Link copied to clipboard
getBitmap
Link copied to clipboard
open fun getBitmap(): Bitmap
Content copied to clipboard
open fun getBitmap(state: DrawableState): Bitmap
Content copied to clipboard
open fun getBitmap(bounds: Rect, slice: Rect): Bitmap
Content copied to clipboard
open fun getBitmap(bounds: Rect, chunk: RectF): Bitmap
Content copied to clipboard
open fun getBitmap(bounds: RectF, slice: Rect): Bitmap
Content copied to clipboard
open fun getBitmap(bounds: RectF, slice: RectF): Bitmap
Content copied to clipboard
open fun getBitmap(boundsWidth: Int, boundsHeight: Int, fitIntoBounds: Boolean): Bitmap
Content copied to clipboard
getRawStream
Link copied to clipboard
getResources
Link copied to clipboard
open fun getResources(): Resources
Content copied to clipboard
getVariantIndex
Link copied to clipboard
hasProvider
Link copied to clipboard
hasResourceId
Link copied to clipboard
invalidate
Link copied to clipboard
open fun invalidate()
Content copied to clipboard
isStateful
Link copied to clipboard
isStaticImage
Link copied to clipboard
isSupportedImage
Link copied to clipboard
logErrorIfScaledResource
Link copied to clipboard
open fun logErrorIfScaledResource()
Content copied to clipboard
readFormat
Link copied to clipboard
searchProviderField
Link copied to clipboard
setTheme
Link copied to clipboard
writeToParcel
Link copied to clipboard
Properties
context
Link copied to clipboard
defaultThemeContext
Link copied to clipboard
open val defaultThemeContext: Context
Content copied to clipboard
imageFormat
Link copied to clipboard
private open val imageFormat: ImageFileFormat
Content copied to clipboard
resourceId
Link copied to clipboard
stateList
Link copied to clipboard
variantCount
Link copied to clipboard