Package coil.decode

Types

SvgDecoder
Link copied to clipboard
class SvgDecoder @JvmOverloads() constructor(source: ImageSource, options: Options, useViewBoundsAsIntrinsicSize: Boolean) : Decoder
A Decoder that uses AndroidSVG to decode SVG files.

Functions

isSvg
Link copied to clipboard
fun DecodeUtils.isSvg(source: BufferedSource): Boolean
Return 'true' if the source contains an SVG image.