DOMMatrix class

The interface represents 4×4 matrices, suitable for 2D and 3D operations including rotation and translation. It is a mutable version of the DOMMatrixReadOnly interface. WebKitCSSMatrix is an alias to . This interface should be available inside web workers, though some implementations don't allow it yet.

DOMMatrixReadOnly

DOMMatrix

Implemented types
Available extensions
Annotations
  • @experimental
  • @JS()
  • @staticInterop

Constructors

DOMMatrix([dynamic init])
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromFloat32Array(Float32List array32) DOMMatrix
override
fromFloat64Array(Float64List array64) DOMMatrix
override
fromMatrix([DOMMatrixInit? other]) DOMMatrix
override