Builder

class Builder(val imageId: String, val bitmap: Bitmap)

Builder for the ImageNinePatchExtensionImpl.

Constructors

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

Functions

Link copied to clipboard

Build the ImageNinePatchExtensionImpl.

Link copied to clipboard

Scale factor for the image.

Link copied to clipboard
fun sdf(sdf: Boolean = false): ImageNinePatchExtensionImpl.Builder

Option to treat whether image is SDF(signed distance field) or not.

Properties

Link copied to clipboard
val bitmap: Bitmap

Actual 9-patch bitmap.

Link copied to clipboard
val imageId: String

ID of the image.