fromPoint static method

DOMPoint fromPoint([
  1. DOMPointInit other
])
override

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

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

Although this interface is based on DOMPointReadOnly, it is not read-only; the properties within may be changed at will.

Implementation

external static DOMPoint fromPoint([DOMPointInit other]);