Package-level declarations

Types

Link copied to clipboard
class SvgDecoder(source: ImageSource, options: Options, val useViewBoundsAsIntrinsicSize: Boolean = true, val renderToBitmap: Boolean = true, val scaleToDensity: Boolean = false) : Decoder

A Decoder that decodes SVGs. Relies on external dependencies to parse and decode the SVGs.

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.