UnsupportedPaintException

class UnsupportedPaintException(val value: String, location: String? = null) : SvgFormatException

The rejection of a paint value outside the /v1 color grammar.

fill and stroke accept none, hex colors (#rgb, #rrggbb, #rgba, #rrggbbaa), and the rgb()/rgba() functions. Anything else — named colors, currentColor, inherit, url() references, hsl() — is rejected rather than guessed at.

Constructors

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

Properties

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

The paint text exactly as it appeared in the attribute.