Style Image
Style image to used with runtime styling.
Parameters
the id of the image
pixel data of the image
scale factor for the image
option to treat whether image is SDF(signed distance field) or not
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.
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.
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.
Constructors
Construct a StyleImage with ImageBitmap.