MapboxSvgToBitmapParser

class MapboxSvgToBitmapParser(externalFileResolver: SVGExternalFileResolver) : SvgToBitmapParser

Implementation of SvgToBitmapParser that provides a method allowing to convert SVG ByteArray to Bitmap

Constructors

MapboxSvgToBitmapParser
Link copied to clipboard
fun MapboxSvgToBitmapParser(externalFileResolver: SVGExternalFileResolver)

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
parse
Link copied to clipboard
open override fun parse(svg: ByteArray, options: MapboxSignboardOptions): Expected<String, Bitmap>
The function converts a raw svg in ByteArray to Bitmap using MapboxSignboardOptions specified.
toString
Link copied to clipboard
open fun toString(): String