MalformedTemplateException

class MalformedTemplateException(reason: String, location: String? = null) : SvgFormatException

The rejection of a template document that violates the template size contract.

A document referenced by <use> must declare explicit width and height equal to its viewBox extents — the size a browser renders the reference at; a sizeless nested <svg> would silently inflate to 100%.

Constructors

Link copied to clipboard
constructor(reason: String, location: String? = null)

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
expect open val message: String?