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

Add the image to the style.

open override fun bindTo(delegate: StyleInterface)
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String