SVGTransformList

abstract external class SVGTransformList (source)

Platform and version requirements: JS

Exposes the JavaScript SVGTransformList to Kotlin

Constructors

<init>

SVGTransformList()

Exposes the JavaScript SVGTransformList to Kotlin

Properties

length

open val length: Int

numberOfItems

open val numberOfItems: Int

Functions

appendItem

fun appendItem(newItem: SVGTransform): SVGTransform

clear

fun clear()

consolidate

fun consolidate(): SVGTransform?

createSVGTransformFromMatrix

fun createSVGTransformFromMatrix(
    matrix: DOMMatrixReadOnly
): SVGTransform

getItem

fun getItem(index: Int): SVGTransform

initialize

fun initialize(newItem: SVGTransform): SVGTransform

insertItemBefore

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

removeItem

fun removeItem(index: Int): SVGTransform

replaceItem

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

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

set

operator fun SVGTransformList.set(
    index: Int,
    newItem: SVGTransform)