Preparing search index...
The search index is not available
melonjs
melonjs
<internal>
DOMMatrix
Interface DOMMatrix
MDN Reference
interface
DOMMatrix
{
a
:
number
;
b
:
number
;
c
:
number
;
d
:
number
;
e
:
number
;
f
:
number
;
is2D
:
boolean
;
isIdentity
:
boolean
;
m11
:
number
;
m12
:
number
;
m13
:
number
;
m14
:
number
;
m21
:
number
;
m22
:
number
;
m23
:
number
;
m24
:
number
;
m31
:
number
;
m32
:
number
;
m33
:
number
;
m34
:
number
;
m41
:
number
;
m42
:
number
;
m43
:
number
;
m44
:
number
;
flipX
(
)
:
DOMMatrix
;
flipY
(
)
:
DOMMatrix
;
inverse
(
)
:
DOMMatrix
;
invertSelf
(
)
:
DOMMatrix
;
multiply
(
other
?:
DOMMatrixInit
)
:
DOMMatrix
;
multiplySelf
(
other
?:
DOMMatrixInit
)
:
DOMMatrix
;
preMultiplySelf
(
other
?:
DOMMatrixInit
)
:
DOMMatrix
;
rotate
(
rotX
?:
number
,
rotY
?:
number
,
rotZ
?:
number
)
:
DOMMatrix
;
rotateAxisAngle
(
x
?:
number
,
y
?:
number
,
z
?:
number
,
angle
?:
number
)
:
DOMMatrix
;
rotateAxisAngleSelf
(
x
?:
number
,
y
?:
number
,
z
?:
number
,
angle
?:
number
)
:
DOMMatrix
;
rotateFromVector
(
x
?:
number
,
y
?:
number
)
:
DOMMatrix
;
rotateFromVectorSelf
(
x
?:
number
,
y
?:
number
)
:
DOMMatrix
;
rotateSelf
(
rotX
?:
number
,
rotY
?:
number
,
rotZ
?:
number
)
:
DOMMatrix
;
scale
(
scaleX
?:
number
,
scaleY
?:
number
,
scaleZ
?:
number
,
originX
?:
number
,
originY
?:
number
,
originZ
?:
number
)
:
DOMMatrix
;
scale3d
(
scale
?:
number
,
originX
?:
number
,
originY
?:
number
,
originZ
?:
number
)
:
DOMMatrix
;
scale3dSelf
(
scale
?:
number
,
originX
?:
number
,
originY
?:
number
,
originZ
?:
number
)
:
DOMMatrix
;
scaleNonUniform
(
scaleX
?:
number
,
scaleY
?:
number
)
:
DOMMatrix
;
scaleSelf
(
scaleX
?:
number
,
scaleY
?:
number
,
scaleZ
?:
number
,
originX
?:
number
,
originY
?:
number
,
originZ
?:
number
)
:
DOMMatrix
;
setMatrixValue
(
transformList
:
string
)
:
DOMMatrix
;
skewX
(
sx
?:
number
)
:
DOMMatrix
;
skewXSelf
(
sx
?:
number
)
:
DOMMatrix
;
skewY
(
sy
?:
number
)
:
DOMMatrix
;
skewYSelf
(
sy
?:
number
)
:
DOMMatrix
;
toFloat32Array
(
)
:
Float32Array
;
toFloat64Array
(
)
:
Float64Array
;
toJSON
(
)
:
any
;
toString
(
)
:
string
;
transformPoint
(
point
?:
DOMPointInit
)
:
DOMPoint
;
translate
(
tx
?:
number
,
ty
?:
number
,
tz
?:
number
)
:
DOMMatrix
;
translateSelf
(
tx
?:
number
,
ty
?:
number
,
tz
?:
number
)
:
DOMMatrix
;
}
Hierarchy (
view full
)
DOMMatrixReadOnly
DOMMatrix
Index
Properties
a
b
c
d
e
f
is2D
is
Identity
m11
m12
m13
m14
m21
m22
m23
m24
m31
m32
m33
m34
m41
m42
m43
m44
Methods
flipX
flipY
inverse
invert
Self
multiply
multiply
Self
pre
Multiply
Self
rotate
rotate
Axis
Angle
rotate
Axis
Angle
Self
rotate
From
Vector
rotate
From
Vector
Self
rotate
Self
scale
scale3d
scale3d
Self
scale
Non
Uniform
scale
Self
set
Matrix
Value
skewX
skewXSelf
skewY
skewYSelf
to
Float32
Array
to
Float64
Array
toJSON
to
String
transform
Point
translate
translate
Self
Properties
a
a
:
number
MDN Reference
b
b
:
number
MDN Reference
c
c
:
number
MDN Reference
d
d
:
number
MDN Reference
e
e
:
number
MDN Reference
f
f
:
number
MDN Reference
Readonly
is2D
is2D
:
boolean
MDN Reference
Readonly
is
Identity
is
Identity
:
boolean
MDN Reference
m11
m11
:
number
MDN Reference
m12
m12
:
number
MDN Reference
m13
m13
:
number
MDN Reference
m14
m14
:
number
MDN Reference
m21
m21
:
number
MDN Reference
m22
m22
:
number
MDN Reference
m23
m23
:
number
MDN Reference
m24
m24
:
number
MDN Reference
m31
m31
:
number
MDN Reference
m32
m32
:
number
MDN Reference
m33
m33
:
number
MDN Reference
m34
m34
:
number
MDN Reference
m41
m41
:
number
MDN Reference
m42
m42
:
number
MDN Reference
m43
m43
:
number
MDN Reference
m44
m44
:
number
MDN Reference
Methods
flipX
flipX
(
)
:
DOMMatrix
MDN Reference
Returns
DOMMatrix
flipY
flipY
(
)
:
DOMMatrix
MDN Reference
Returns
DOMMatrix
inverse
inverse
(
)
:
DOMMatrix
MDN Reference
Returns
DOMMatrix
invert
Self
invert
Self
(
)
:
DOMMatrix
Returns
DOMMatrix
multiply
multiply
(
other
?
)
:
DOMMatrix
MDN Reference
Parameters
Optional
other
:
DOMMatrixInit
Returns
DOMMatrix
multiply
Self
multiply
Self
(
other
?
)
:
DOMMatrix
Parameters
Optional
other
:
DOMMatrixInit
Returns
DOMMatrix
pre
Multiply
Self
pre
Multiply
Self
(
other
?
)
:
DOMMatrix
Parameters
Optional
other
:
DOMMatrixInit
Returns
DOMMatrix
rotate
rotate
(
rotX
?
,
rotY
?
,
rotZ
?
)
:
DOMMatrix
MDN Reference
Parameters
Optional
rotX
:
number
Optional
rotY
:
number
Optional
rotZ
:
number
Returns
DOMMatrix
rotate
Axis
Angle
rotate
Axis
Angle
(
x
?
,
y
?
,
z
?
,
angle
?
)
:
DOMMatrix
MDN Reference
Parameters
Optional
x
:
number
Optional
y
:
number
Optional
z
:
number
Optional
angle
:
number
Returns
DOMMatrix
rotate
Axis
Angle
Self
rotate
Axis
Angle
Self
(
x
?
,
y
?
,
z
?
,
angle
?
)
:
DOMMatrix
Parameters
Optional
x
:
number
Optional
y
:
number
Optional
z
:
number
Optional
angle
:
number
Returns
DOMMatrix
rotate
From
Vector
rotate
From
Vector
(
x
?
,
y
?
)
:
DOMMatrix
MDN Reference
Parameters
Optional
x
:
number
Optional
y
:
number
Returns
DOMMatrix
rotate
From
Vector
Self
rotate
From
Vector
Self
(
x
?
,
y
?
)
:
DOMMatrix
Parameters
Optional
x
:
number
Optional
y
:
number
Returns
DOMMatrix
rotate
Self
rotate
Self
(
rotX
?
,
rotY
?
,
rotZ
?
)
:
DOMMatrix
Parameters
Optional
rotX
:
number
Optional
rotY
:
number
Optional
rotZ
:
number
Returns
DOMMatrix
scale
scale
(
scaleX
?
,
scaleY
?
,
scaleZ
?
,
originX
?
,
originY
?
,
originZ
?
)
:
DOMMatrix
MDN Reference
Parameters
Optional
scaleX
:
number
Optional
scaleY
:
number
Optional
scaleZ
:
number
Optional
originX
:
number
Optional
originY
:
number
Optional
originZ
:
number
Returns
DOMMatrix
scale3d
scale3d
(
scale
?
,
originX
?
,
originY
?
,
originZ
?
)
:
DOMMatrix
MDN Reference
Parameters
Optional
scale
:
number
Optional
originX
:
number
Optional
originY
:
number
Optional
originZ
:
number
Returns
DOMMatrix
scale3d
Self
scale3d
Self
(
scale
?
,
originX
?
,
originY
?
,
originZ
?
)
:
DOMMatrix
MDN Reference
Parameters
Optional
scale
:
number
Optional
originX
:
number
Optional
originY
:
number
Optional
originZ
:
number
Returns
DOMMatrix
scale
Non
Uniform
scale
Non
Uniform
(
scaleX
?
,
scaleY
?
)
:
DOMMatrix
Parameters
Optional
scaleX
:
number
Optional
scaleY
:
number
Returns
DOMMatrix
Deprecated
MDN Reference
scale
Self
scale
Self
(
scaleX
?
,
scaleY
?
,
scaleZ
?
,
originX
?
,
originY
?
,
originZ
?
)
:
DOMMatrix
MDN Reference
Parameters
Optional
scaleX
:
number
Optional
scaleY
:
number
Optional
scaleZ
:
number
Optional
originX
:
number
Optional
originY
:
number
Optional
originZ
:
number
Returns
DOMMatrix
set
Matrix
Value
set
Matrix
Value
(
transformList
)
:
DOMMatrix
Parameters
transformList
:
string
Returns
DOMMatrix
skewX
skewX
(
sx
?
)
:
DOMMatrix
MDN Reference
Parameters
Optional
sx
:
number
Returns
DOMMatrix
skewXSelf
skewXSelf
(
sx
?
)
:
DOMMatrix
Parameters
Optional
sx
:
number
Returns
DOMMatrix
skewY
skewY
(
sy
?
)
:
DOMMatrix
MDN Reference
Parameters
Optional
sy
:
number
Returns
DOMMatrix
skewYSelf
skewYSelf
(
sy
?
)
:
DOMMatrix
Parameters
Optional
sy
:
number
Returns
DOMMatrix
to
Float32
Array
to
Float32
Array
(
)
:
Float32Array
MDN Reference
Returns
Float32Array
to
Float64
Array
to
Float64
Array
(
)
:
Float64Array
MDN Reference
Returns
Float64Array
toJSON
toJSON
(
)
:
any
Returns
any
to
String
to
String
(
)
:
string
Returns
string
transform
Point
transform
Point
(
point
?
)
:
DOMPoint
MDN Reference
Parameters
Optional
point
:
DOMPointInit
Returns
DOMPoint
translate
translate
(
tx
?
,
ty
?
,
tz
?
)
:
DOMMatrix
MDN Reference
Parameters
Optional
tx
:
number
Optional
ty
:
number
Optional
tz
:
number
Returns
DOMMatrix
translate
Self
translate
Self
(
tx
?
,
ty
?
,
tz
?
)
:
DOMMatrix
Parameters
Optional
tx
:
number
Optional
ty
:
number
Optional
tz
:
number
Returns
DOMMatrix
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
a
b
c
d
e
f
is2D
is
Identity
m11
m12
m13
m14
m21
m22
m23
m24
m31
m32
m33
m34
m41
m42
m43
m44
Methods
flipX
flipY
inverse
invert
Self
multiply
multiply
Self
pre
Multiply
Self
rotate
rotate
Axis
Angle
rotate
Axis
Angle
Self
rotate
From
Vector
rotate
From
Vector
Self
rotate
Self
scale
scale3d
scale3d
Self
scale
Non
Uniform
scale
Self
set
Matrix
Value
skewX
skewXSelf
skewY
skewYSelf
to
Float32
Array
to
Float64
Array
toJSON
to
String
transform
Point
translate
translate
Self
melonjs
Loading...
MDN Reference