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