interface HasAttributes
This interface describes how SVG handles attributes.
(JS, JVM)
attributes |
The attributes are simply labels with associated values. abstract val attributes: MutableMap<String, String?> |
(JS, JVM)
id |
All things that can have attributes can have an id attribute. abstract var id: String? |
(JS, JVM)
validation |
Should we attempt to validated values correctness when assign them? abstract var validation: Boolean |
(JS, JVM)
getAttributes |
Return the attribute map, with possible processing based on the renderMode. abstract fun getAttributes(renderMode: RenderMode): Map<String, String?> |
(JS, JVM)
Element |
Abstract SVG named element with attributes and child elements. abstract class Element : HasAttributes |
(JS, JVM)
HasAttributesImpl |
A basic implementation of HasAttributes. open class HasAttributesImpl : HasAttributes |
(JS, JVM)
HasDimensionsImpl |
A basic implementation of HasDimensions. class HasDimensionsImpl : HasDimensions, HasAttributes |
(JS, JVM)
HasFillImpl |
A basic implementation of HasFill. class HasFillImpl : HasFill, HasAttributes |
(JS, JVM)
HasOriginImpl |
A Basic implementation of HasOrigin. class HasOriginImpl : HasOrigin, HasAttributes |
(JS, JVM)
HasStrokeImpl |
A basic implementation of HasStroke. class HasStrokeImpl : HasStroke, HasAttributes |