ksvg / com.github.nwillc.ksvg.elements / LINE

LINE

(JS, JVM) class LINE : Element, HasStroke

An SVG line element.

Constructors

(JS, JVM)

<init>

An SVG line element.

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

Properties

(JS, JVM)

x1

The X1 coordinate of the line.

var x1: String?
(JS, JVM)

x2

The X2 coordinate of the line.

var x2: String?
(JS, JVM)

y1

The Y1 coordinate of the line.

var y1: String?
(JS, JVM)

y2

The Y2 coordinate of the line.

var y2: String?

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