fromPoint static method

DOMPointReadOnly fromPoint([
  1. DOMPointInit other
])

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

You can also create a new DOMPointReadOnly object using the DOMPointReadOnly.DOMPointReadOnly constructor.

Implementation

external static DOMPointReadOnly fromPoint([DOMPointInit other]);