Package 

Class SvgDecoder

  • All Implemented Interfaces:
    coil.decode.Decoder

    
    public final class SvgDecoder
     implements Decoder
                        

    A Decoder that uses AndroidSVG to decode SVG files.

    • Constructor Detail

      • SvgDecoder

        SvgDecoder(ImageSource source, Options options, Boolean useViewBoundsAsIntrinsicSize)
        Parameters:
        useViewBoundsAsIntrinsicSize - If true, uses the SVG's view bounds as the intrinsic size for the SVG.
      • SvgDecoder

        SvgDecoder(ImageSource source, Options options)