ImageDescriptor

constructor(image: DrawableResolver, imageType: ImageType = ImageType.DEFAULT, scaleType: ImageView.ScaleType = ScaleType.FIT_CENTER)

A convenience constructor to create the class with a DrawableResolver.


constructor(remoteImage: RemoteImage, imageType: ImageType = ImageType.DEFAULT, scaleType: ImageView.ScaleType = ScaleType.FIT_CENTER)

A convenience constructor to create the class with a RemoteImage.


constructor(uri: Uri, imageType: ImageType = ImageType.DEFAULT, scaleType: ImageView.ScaleType = ScaleType.FIT_CENTER)

A convenience constructor to create the class with a Uri.


constructor(image: ImageSource, imageType: ImageType = ImageType.DEFAULT, scaleType: ImageView.ScaleType = ScaleType.FIT_CENTER)

Parameters

image

The image content.

imageType

The ImageType of the given image.

scaleType

The ScaleType of the given image.