Package-level declarations

Types

Link copied to clipboard
actual class SvgDecoder(source: ImageSource, options: Options, val useViewBoundsAsIntrinsicSize: Boolean, val renderToBitmap: Boolean) : Decoder

A Decoder that uses AndroidSVG to decode SVG files.

expect class SvgDecoder(source: ImageSource, options: Options, useViewBoundsAsIntrinsicSize: Boolean = true, renderToBitmap: Boolean = true) : Decoder

A Decoder that uses AndroidSVG and SVGDOM to decode SVG files.

actual class SvgDecoder(source: ImageSource, options: Options, val useViewBoundsAsIntrinsicSize: Boolean, val renderToBitmap: Boolean) : Decoder

A Decoder that uses SVGDOM to decode SVG files.

Link copied to clipboard
class SvgImage(val svg: SVG, val renderOptions: RenderOptions?, val width: Int, val height: Int) : Image
class SvgImage(val svg: SVGDOM, val width: Int, val height: Int) : Image

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Specifies additional CSS rules that will be applied when rendering an SVG in addition to any rules specified in the SVG itself.

Link copied to clipboard

Return 'true' if the source contains an SVG image. The source is not consumed.