DOMMatrixReadOnly class

The interface represents a read-only 4×4 matrix, suitable for 2D and 3D operations. The DOMMatrix interface — which is based upon —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.

Implementers
Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

DOMMatrixReadOnly([dynamic init])
factory

Properties

a → dynamic

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

no setter
b → dynamic

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

no setter
c → dynamic

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

no setter
d → dynamic

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

no setter
e → dynamic

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

no setter
f → dynamic

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

no setter
hashCode int
The hash code for this object.
no setterinherited
is2D bool

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

no setter
isIdentity bool

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

no setter
m11 → dynamic

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

no setter
m12 → dynamic

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

no setter
m13 → dynamic

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

no setter
m14 → dynamic

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

no setter
m21 → dynamic

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

no setter
m22 → dynamic

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

no setter
m23 → dynamic

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

no setter
m24 → dynamic

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

no setter
m31 → dynamic

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

no setter
m32 → dynamic

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

no setter
m33 → dynamic

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

no setter
m34 → dynamic

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

no setter
m41 → dynamic

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

no setter
m42 → dynamic

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

no setter
m43 → dynamic

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

no setter
m44 → dynamic

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

flipX() DOMMatrix

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

flipY() DOMMatrix

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

inverse() DOMMatrix

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

mToString() String

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

multiply([DOMMatrixInit? other]) DOMMatrix

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rotate([dynamic rotX = 0, dynamic rotY, dynamic rotZ]) DOMMatrix

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

rotateAxisAngle([dynamic x = 0, dynamic y = 0, dynamic z = 0, dynamic angle = 0]) DOMMatrix

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

rotateFromVector([dynamic x = 0, dynamic y = 0]) DOMMatrix

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

scale([dynamic scaleX = 1, dynamic scaleY, dynamic scaleZ = 1, dynamic originX = 0, dynamic originY = 0, dynamic originZ = 0]) DOMMatrix

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

scale3d([dynamic scale = 1, dynamic originX = 0, dynamic originY = 0, dynamic originZ = 0]) DOMMatrix

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

scaleNonUniform([dynamic scaleX = 1, dynamic scaleY = 1]) DOMMatrix

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

skewX([dynamic sx = 0]) DOMMatrix

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

skewY([dynamic sy = 0]) DOMMatrix

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

toFloat32Array() Float32List

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

toFloat64Array() Float64List

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

toJSON() → dynamic

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

toString() String
A string representation of this object.
inherited
transformPoint([DOMPointInit? point]) DOMPoint

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

translate([dynamic tx = 0, dynamic ty = 0, dynamic tz = 0]) DOMMatrix

Available on DOMMatrixReadOnly, provided by the PropsDOMMatrixReadOnly extension

Operators

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

Static Methods

fromFloat32Array(Float32List array32) → dynamic
fromFloat64Array(Float64List array64) → dynamic
fromMatrix([DOMMatrixInit? other]) → dynamic