Factory
class Factory(val parser: Svg.Parser = Svg.Parser.DEFAULT, val density: PlatformContext.() -> Float = NO_DENSITY, val useViewBoundsAsIntrinsicSize: Boolean = true, val renderToBitmap: Boolean = true) : Decoder.Factory
Constructors
Link copied to clipboard
constructor(useViewBoundsAsIntrinsicSize: Boolean = true, renderToBitmap: Boolean = true, scaleToDensity: Boolean = false)
constructor(parser: Svg.Parser = Svg.Parser.DEFAULT, density: PlatformContext.() -> Float = NO_DENSITY, useViewBoundsAsIntrinsicSize: Boolean = true, renderToBitmap: Boolean = true)
Properties
Functions
Link copied to clipboard
open override fun create(result: SourceFetchResult, options: Options, imageLoader: ImageLoader): Decoder?