Package-level declarations

Types

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

A Decoder that decodes SVGs. Relies on external dependencies to parse and decode the SVGs (see Svg).

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.