Builder

class Builder

Builder for the ImageExtensionImpl.

Constructors

Link copied to clipboard
fun Builder(imageId: String)

Constructor for the ImageExtensionImpl.Builder.

Link copied to clipboard
fun Builder(imageId: String, image: Image)

Constructor for the ImageExtensionImpl.Builder.

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

Constructor for the ImageExtensionImpl.Builder.

Functions

Link copied to clipboard

Set bitmap data of the image.

Link copied to clipboard

Build the ImagePluginImpl.

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

Pixel data of the image.

Link copied to clipboard

Scale factor for the image.

Link copied to clipboard

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

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.

Properties

Link copied to clipboard

The Id of the image.