Nine Patch Image
Data class describing 9-patch bitmap.
data class NinePatchImage(internalImage: Image, stretchX: List<ImageStretches>, stretchY: List<ImageStretches>, imageContent: ImageContent)
Content copied to clipboard
Constructors
NinePatchImage
Link copied to clipboard
fun NinePatchImage(internalImage: Image, stretchX: List<ImageStretches>, stretchY: List<ImageStretches>, imageContent: ImageContent)
Content copied to clipboard
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
component4
Link copied to clipboard
copy
Link copied to clipboard
fun copy(internalImage: Image, stretchX: List<ImageStretches>, stretchY: List<ImageStretches>, imageContent: ImageContent): NinePatchImage
Content copied to clipboard
equals
Link copied to clipboard
Properties
imageContent
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.
internalImage
Link copied to clipboard
Bitmap itself.
stretchX
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.
stretchY
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.