fromPoint

fun fromPoint(other: DOMPointReadOnly = definedExternally): DOMPointReadOnly(source)

The static DOMPointReadOnly method fromPoint() creates and returns a new DOMPointReadOnly object given a source point.

MDN Reference