DOMPoint-1
DOMPoint: {
(x?, y?, z?, w?): DOMPoint;
prototype: DOMPoint;
fromPoint: DOMPoint;
};
Type Declaration
Parameters
| Parameter | Type |
|---|---|
x? | number |
y? | number |
z? | number |
w? | number |
Returns
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.
Parameters
| Parameter | Type |
|---|---|
other? | DOMPointInit |