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.
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String