Style Image Info
data class StyleImageInfo(val width: UInt, val height: UInt, val pixels: ByteArray, val stretchX: List<ImageStretch>, val stretchY: List<ImageStretch>, val content: ImageContent?, val textFitWidth: StyleImageTextFit?, val textFitHeight: StyleImageTextFit?, val pixelRatio: Float, val sdf: Boolean, val keepUnused: Boolean)
An image in the map's style.
See mln_style_image_info in the C API reference.
Constructors
Link copied to clipboard
constructor(width: UInt, height: UInt, pixels: ByteArray, stretchX: List<ImageStretch>, stretchY: List<ImageStretch>, content: ImageContent?, textFitWidth: StyleImageTextFit?, textFitHeight: StyleImageTextFit?, pixelRatio: Float, sdf: Boolean, keepUnused: Boolean)