MapboxExternalFileResolver

open class MapboxExternalFileResolver(assetManager: AssetManager) : SVGExternalFileResolver

Mapbox implementation of the SVGExternalFileResolver to better support font resolution.

See resolveFont.

Constructors

MapboxExternalFileResolver
Link copied to clipboard
fun MapboxExternalFileResolver(assetManager: AssetManager)

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
isFormatSupported
Link copied to clipboard
open fun isFormatSupported(p0: String): Boolean
resolveCSSStyleSheet
Link copied to clipboard
open fun resolveCSSStyleSheet(p0: String): String
resolveFont
Link copied to clipboard
open override fun resolveFont(fontFamily: String?, fontWeight: Int, fontStyle: String?): Typeface?
Called by renderer to resolve font references in <text> elements.
resolveImage
Link copied to clipboard
open fun resolveImage(p0: String): Bitmap
toString
Link copied to clipboard
open fun toString(): String