image9Patch

fun image9Patch(imageId: String, bitmap: Bitmap, block: ImageNinePatchExtensionImpl.Builder.() -> Unit? = null): ImageNinePatchExtensionImpl

DSL function for ImageNinePatchExtensionImpl.

Parameters

imageId

id

bitmap

Bitmap that must be be in 9-patch format or RuntimeException will be thrown.

block

optional block for additional parameters