SVGStringList

abstract external class SVGStringList (source)

Platform and version requirements: JS

Exposes the JavaScript SVGStringList to Kotlin

Constructors

<init>

SVGStringList()

Exposes the JavaScript SVGStringList to Kotlin

Properties

length

open val length: Int

numberOfItems

open val numberOfItems: Int

Functions

appendItem

fun appendItem(newItem: String): String

clear

fun clear()

getItem

fun getItem(index: Int): String

initialize

fun initialize(newItem: String): String

insertItemBefore

fun insertItemBefore(newItem: String, index: Int): String

removeItem

fun removeItem(index: Int): String

replaceItem

fun replaceItem(newItem: String, index: Int): String

Inherited Functions

equals

open operator fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one. Implementations must fulfil the following requirements:

hashCode

open fun hashCode(): Int

Returns a hash code value for the object. The general contract of hashCode is:

toString

open fun toString(): String

Returns a string representation of the object.

Extension Functions

get

operator fun SVGStringList.get(index: Int): String?

set

operator fun SVGStringList.set(index: Int, newItem: String)