SvgElement

sealed interface SvgElement

Base interface for all SVG elements. Represents a generic SVG element with attributes and child elements.

Inheritors

Properties

Link copied to clipboard

A map of attributes for the SVG element. Keys are attribute names, and values are their corresponding values.

Link copied to clipboard

A list of child SVG elements.

Functions

Link copied to clipboard
abstract fun render(): String

Renders the SVG element as a string.