NinePatchImage

data class NinePatchImage(val internalImage: Image, val stretchX: List<ImageStretches>, val stretchY: List<ImageStretches>, val imageContent: ImageContent)

Data class describing 9-patch bitmap.

Constructors

Link copied to clipboard
fun NinePatchImage(internalImage: Image, stretchX: List<ImageStretches>, stretchY: List<ImageStretches>, imageContent: ImageContent)

Properties

Link copied to clipboard

An array of four numbers, with the first two specifying the left, top corner, and the last two specifying the right, bottom corner. If present, and if the icon uses icon-text-fit, the symbol's text will be fit inside the content box.

Link copied to clipboard

Bitmap itself.

Link copied to clipboard

An array of two-element arrays, consisting of two numbers that represent the from position and the to position of areas that can be stretched horizontally.

Link copied to clipboard

An array of two-element arrays, consisting of two numbers that represent the from position and the to position of areas that can be stretched vertically.