ResolvedImage

open class ResolvedImage(drawable: Drawable?, uri: Uri, scale: Double, width: Int, height: Int, requiredWidth: Int = width, requiredHeight: Int = height) : Image

Constructors

Link copied to clipboard
constructor(drawable: Drawable?, uri: Uri, scale: Double, width: Int, height: Int, requiredWidth: Int = width, requiredHeight: Int = height)

Functions

Link copied to clipboard
open override fun getDrawable(): Drawable?

Returns the Drawable representing the image.

Link copied to clipboard
open override fun getHeight(): Int

Returns the actual height of this image.

Link copied to clipboard
open override fun getRequiredHeight(): Int

Returns the height required to be rendered in image.

Link copied to clipboard
open override fun getRequiredWidth(): Int

Returns the width required to be rendered in image.

Link copied to clipboard
open override fun getScale(): Double

Returns the scale for this image, which denotes the ratio of pixels to dp.

Link copied to clipboard
open override fun getUri(): Uri

Returns the Uri for this image.

Link copied to clipboard
open override fun getWidth(): Int

Returns the actual width of this image.