-
- All Implemented Interfaces:
-
coil.decode.Decoder
public final class SvgDecoder implements DecoderA Decoder that uses AndroidSVG to decode SVG files.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSvgDecoder.Factorypublic classSvgDecoder.Companion
-
Field Summary
Fields Modifier and Type Field Description private final BooleanuseViewBoundsAsIntrinsicSize
-
Constructor Summary
Constructors Constructor Description SvgDecoder(ImageSource source, Options options, Boolean useViewBoundsAsIntrinsicSize)SvgDecoder(ImageSource source, Options options)
-
Method Summary
Modifier and Type Method Description final BooleangetUseViewBoundsAsIntrinsicSize()<ERROR CLASS>decode()-
-
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)
-
-
Method Detail
-
getUseViewBoundsAsIntrinsicSize
final Boolean getUseViewBoundsAsIntrinsicSize()
-
decode
<ERROR CLASS> decode()
-
-
-
-