ImageNinePatchExtensionImpl

Concrete implementation of ImagePlugin (see ImageExtensionImpl) but taking 9-patch Bitmap in order to calculate stretchX, stretchY and paddings automatically.

Constructors

ImageNinePatchExtensionImpl
Link copied to clipboard
fun ImageNinePatchExtensionImpl(builder: ImageNinePatchExtensionImpl.Builder)

Types

Builder
Link copied to clipboard
class Builder(imageId: String, bitmap: Bitmap)

Functions

bindTo
Link copied to clipboard
open override fun bindTo(delegate: StyleInterface)
Add the image to the style.