SvgToBitmapParser

fun fun interface SvgToBitmapParser

An interface that exposes a function to allow the conversion of svg in a raw ByteArray format to Expected format that either holds a Bitmap if the conversion is successful or an error if it is not.

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
abstract 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

Inheritors

MapboxSvgToBitmapParser
Link copied to clipboard