Skip to main content

DOMPoint-1

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

Type Declaration

Parameters

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

Returns

DOMPoint

prototype

prototype: DOMPoint;

fromPoint()

fromPoint(other?): DOMPoint;

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

MDN Reference

Parameters

ParameterType
other?DOMPointInit

Returns

DOMPoint