MapboxSvgToBitmapParser
class MapboxSvgToBitmapParser(externalFileResolver: SVGExternalFileResolver) : SvgToBitmapParser
Content copied to clipboard
Implementation of SvgToBitmapParser that provides a method allowing to convert SVG ByteArray to Bitmap
Constructors
Link copied to clipboard
fun MapboxSvgToBitmapParser(externalFileResolver: SVGExternalFileResolver)
Content copied to clipboard
Functions
Link copied to clipboard
open override fun parse(svg: ByteBuffer, options: MapboxSignboardOptions): Expected<String, Bitmap>
Content copied to clipboard
The function converts a raw svg in ByteArray to Bitmap using MapboxSignboardOptions specified.