DOMMatrixReadOnly extension type

The DOMMatrixReadOnly interface represents a read-only 4×4 matrix, suitable for 2D and 3D operations. The DOMMatrix interface — which is based upon DOMMatrixReadOnly—adds mutability, allowing you to alter the matrix after creating it.

This interface should be available inside web workers, though some implementations doesn't allow it yet.

on
Implemented types
Implementers

Constructors

DOMMatrixReadOnly([JSAny init])
factory

Properties

a num
no setter
b num
no setter
c num
no setter
d num
no setter
e num
no setter
f num
no setter
hashCode int
The hash code for this object.
no setterinherited
is2D bool
no setter
isIdentity bool
no setter
m11 num
no setter
m12 num
no setter
m13 num
no setter
m14 num
no setter
m21 num
no setter
m22 num
no setter
m23 num
no setter
m24 num
no setter
m31 num
no setter
m32 num
no setter
m33 num
no setter
m34 num
no setter
m41 num
no setter
m42 num
no setter
m43 num
no setter
m44 num
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

flipX() DOMMatrix
The flipX() method of the DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix flipped about the x-axis.
flipY() DOMMatrix
inverse() DOMMatrix
multiply([DOMMatrixInit other]) DOMMatrix
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rotate([num rotX, num rotY, num rotZ]) DOMMatrix
rotateAxisAngle([num x, num y, num z, num angle]) DOMMatrix
rotateFromVector([num x, num y]) DOMMatrix
scale([num scaleX, num scaleY, num scaleZ, num originX, num originY, num originZ]) DOMMatrix
The scale() method of the DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix with a scale transform applied.
scale3d([num scale, num originX, num originY, num originZ]) DOMMatrix
scaleNonUniform([num scaleX, num scaleY]) DOMMatrix
skewX([num sx]) DOMMatrix
skewY([num sy]) DOMMatrix
toFloat32Array() JSFloat32Array
toFloat64Array() JSFloat64Array
toJSON() JSObject
toString() String
A string representation of this object.
inherited
transformPoint([DOMPointInit point]) DOMPoint
translate([num tx, num ty, num tz]) DOMMatrix
The translate() method of the DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix with a translation applied.

Operators

operator ==(Object other) bool
The equality operator.
inherited