ksvg / com.github.nwillc.ksvg.elements / Region

Region

(JS, JVM) abstract class Region : Element, HasStroke, HasFill

An abstract element that is a region and therefore has stroke and fill.

Constructors

(JS, JVM)

<init>

An abstract element that is a region and therefore has stroke and fill.

<init>(name: String, validation: Boolean, hasAttributes: HasAttributes = HasAttributesImpl(validation))

Inherited Functions

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

Inheritors

(JS, JVM)

CIRCLE

An SVG circle element.

class CIRCLE : Region
(JS, JVM)

PATH

An SVG path element.

class PATH : Region
(JS, JVM)

POLYGON

An SVG polygon element.

class POLYGON : Region
(JS, JVM)

RECT

An SVG rect element.

class RECT : Region, HasOrigin, HasDimensions