abstract class Container : Element
An abstract container element which provides factories for general sub elements.
(JS, JVM)
<init> |
An abstract container element which provides factories for general sub elements. <init>(name: String, validation: Boolean, hasAttributes: HasAttributes = HasAttributesImpl(validation)) |
(JS, JVM)
a |
Create an a reference element in this svg. fun a(block: A.() -> Unit): A |
(JS, JVM)
circle |
Create a circle element in this svg. fun circle(block: CIRCLE.() -> Unit): CIRCLE |
(JS, JVM)
g |
Create a group element in this svg. fun g(block: G.() -> Unit): G |
(JS, JVM)
line |
Create a line element in this svg. fun line(block: LINE.() -> Unit): LINE |
(JS, JVM)
path |
Create an a path element in this svg. fun path(block: PATH.() -> Unit): PATH |
(JS, JVM)
polygon |
Create a polygon element in this svg. fun polygon(block: POLYGON.() -> Unit): POLYGON |
(JS, JVM)
rect |
Create a rect element in this svg. fun rect(block: RECT.() -> Unit): RECT |
(JS, JVM)
text |
Create a text element in this svg. fun text(block: TEXT.() -> Unit): TEXT |
(JS, JVM)
use |
Create a group element in this svg. fun use(block: USE.() -> Unit): USE |
render |
Render the Element as SVG. (JS)open fun render(appendable: <ERROR CLASS>, renderMode: RenderMode): Unit (JVM) open fun render(appendable: Appendable, renderMode: RenderMode): Unit |
(JS, JVM)
G |
An SVG container element used to group other SVG elements. class G : Container |
(JS, JVM)
SVG |
The SVG element itself. class SVG : Container, HasDimensions |