Variable DOMPointReadOnly
DOMPointReadOnly: {
prototype: DOMPointReadOnly;
fromPoint(other?: DOMPointInit): DOMPointReadOnly;
new (x?: number, y?: number, z?: number, w?: number): DOMPointReadOnly;
}
prototype: DOMPointReadOnly;
fromPoint(other?: DOMPointInit): DOMPointReadOnly;
new (x?: number, y?: number, z?: number, w?: number): DOMPointReadOnly;
}
Type Declaration
- new (x?: number, y?: number, z?: number, w?: number): DOMPointReadOnly
Parameters
Optionalx: numberOptionaly: numberOptionalz: numberOptionalw: number
Returns DOMPointReadOnly
prototype: DOMPointReadOnly
fromPoint: function
Parameters
Optionalother: DOMPointInit
Returns DOMPointReadOnly
The static DOMPointReadOnly method
fromPoint()creates and returns a newDOMPointReadOnlyobject given a source point.MDN Reference