Builder
Builder for the ImageExtensionImpl.
Constructors
Functions
bitmap
Link copied to clipboard
Set bitmap data of the image.
build
Link copied to clipboard
Build the ImagePluginImpl.
content
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.
image
Link copied to clipboard
Pixel data of the image.
scale
Link copied to clipboard
Scale factor for the image.
sdf
Link copied to clipboard
Option to treat whether image is SDF(signed distance field) or not.
stretch X
Link copied to clipboard
fun stretchX(stretchX: List<ImageStretches> = listOf()): ImageExtensionImpl.Builder
Content 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.
stretch Y
Link copied to clipboard
fun stretchY(stretchY: List<ImageStretches> = listOf()): ImageExtensionImpl.Builder
Content 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.