MalformedPolygonException

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

The rejection of a <polygon> whose points close no polygon.

Thrown for a missing points attribute, a non-numeric coordinate, an odd coordinate count (never silently dropped the way browsers drop a trailing number), or a vertex list the CGA Polygon constructor rejects — that diagnostic is carried through in the message.

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?