image9Patch

DSL function for ImageNinePatchExtensionImpl.

Parameters

bitmap

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

block

optional block for additional parameters

imageId

id

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