image

fun image(imageId: String, image: Image, block: ImageExtensionImpl.Builder.() -> Unit = {}): ImageExtensionImpl

DSL function for ImageExtensionImpl.

Parameters

imageId

the id the the image extension

image

the pixel data of the image.

block

the configuration block


fun image(imageId: String, bitmap: Bitmap, block: ImageExtensionImpl.Builder.() -> Unit = {}): ImageExtensionImpl

DSL function for ImageExtensionImpl.

Parameters

imageId

the id for the image extension

bitmap

the bitmap data of the image.

block

the configuration block


fun image(imageId: String, block: ImageExtensionImpl.Builder.() -> Unit): ImageExtensionImpl

Deprecated

Constructing image without image or bitmap is deprecated. Please use `fun image(imageId: String, image: Image, block: ImageExtensionImpl.Builder.() -> Unit): ImageExtensionImpl` or `fun image(imageId: String, bitmap: Bitmap, block: ImageExtensionImpl.Builder.() -> Unit): ImageExtensionImpl` instead.

Replace with

image(imageId, image, block)

DSL function for ImageExtensionImpl.

Parameters

imageId

the id the the image extension

block

the configuration block