SVGNumberList

abstract external class SVGNumberList (source)

Platform and version requirements: JS

Exposes the JavaScript SVGNumberList to Kotlin

Constructors

<init>

SVGNumberList()

Exposes the JavaScript SVGNumberList to Kotlin

Properties

length

open val length: Int

numberOfItems

open val numberOfItems: Int

Functions

appendItem

fun appendItem(newItem: SVGNumber): SVGNumber

clear

fun clear()

getItem

fun getItem(index: Int): SVGNumber

initialize

fun initialize(newItem: SVGNumber): SVGNumber

insertItemBefore

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

removeItem

fun removeItem(index: Int): SVGNumber

replaceItem

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

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 SVGNumberList.get(index: Int): SVGNumber?

set

operator fun SVGNumberList.set(
    index: Int,
    newItem: SVGNumber)