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