SVGPointList

abstract external class SVGPointList (source)

Platform and version requirements: JS

Constructors

<init>

SVGPointList()

Properties

length

open val length: Int

numberOfItems

open val numberOfItems: Int

Functions

appendItem

fun appendItem(newItem: DOMPoint): DOMPoint

clear

fun clear()

getItem

fun getItem(index: Int): DOMPoint

initialize

fun initialize(newItem: DOMPoint): DOMPoint

insertItemBefore

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

removeItem

fun removeItem(index: Int): DOMPoint

replaceItem

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

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

set

operator fun SVGPointList.set(index: Int, newItem: DOMPoint)