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