Skip to main content

DOMPointReadOnly-1

DOMPointReadOnly: {
(x?, y?, z?, w?): DOMPointReadOnly;
prototype: DOMPointReadOnly;
fromPoint: DOMPointReadOnly;
};

Type Declaration

Parameters

ParameterType
x?number
y?number
z?number
w?number

Returns

DOMPointReadOnly

prototype

prototype: DOMPointReadOnly;

fromPoint()

fromPoint(other?): DOMPointReadOnly;

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

MDN Reference

Parameters

ParameterType
other?DOMPointInit

Returns

DOMPointReadOnly