The fromPoint() static method of the DOMPoint interface creates and returns a new mutable DOMPoint object given a source point.
fromPoint()
DOMPoint