For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
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 new DOMPointReadOnly object given a source point.MDN Reference