Classes
DOMPointReadOnly
Extended by
Implements
Constructors
new DOMPointReadOnly()
new DOMPointReadOnly(x
?, y
?, z
?, w
?): DOMPointReadOnly
Parameters
Parameter | Type |
---|---|
x ? | number |
y ? | number |
z ? | number |
w ? | number |
Returns
Properties
Property | Modifier | Type | Description |
---|---|---|---|
w | readonly | number | MDN Reference |
x | readonly | number | MDN Reference |
y | readonly | number | MDN Reference |
z | readonly | number | MDN Reference |
Methods
matrixTransform()
matrixTransform(matrix
?): DOMPoint
Parameters
Parameter | Type |
---|---|
matrix ? | DOMMatrixInit |
Returns
Implementation of
globalThis.DOMPointReadOnly.matrixTransform
toJSON()
toJSON(): object
Returns
object
Name | Type |
---|---|
w | number |
x | number |
y | number |
z | number |
Implementation of
globalThis.DOMPointReadOnly.toJSON
fromPoint()
static
fromPoint(__namedParameters
): DOMPointReadOnly
Parameters
Parameter | Type |
---|---|
__namedParameters | DOMPointInit |