Appearance
DomMatrixReadOnly ​
class DomMatrixReadOnly extends JavaScriptObjectAnnotations: @Native.new("DOMMatrixReadOnly")
Implementers
Constructors ​
DomMatrixReadOnly() factory ​
factory DomMatrixReadOnly([Object? init])Implementation
dart
factory DomMatrixReadOnly([Object? init]) {
if (init != null) {
return DomMatrixReadOnly._create_1(init);
}
return DomMatrixReadOnly._create_2();
}Properties ​
a no setter ​
num? get aImplementation
dart
num? get a native;b no setter ​
num? get bImplementation
dart
num? get b native;c no setter ​
num? get cImplementation
dart
num? get c native;d no setter ​
num? get dImplementation
dart
num? get d native;e no setter ​
num? get eImplementation
dart
num? get e native;f no setter ​
num? get fImplementation
dart
num? get f native;hashCode no setter inherited ​
int get hashCodeInherited from Interceptor.
Implementation
dart
int get hashCode => Primitives.objectHashCode(this);is2D no setter ​
bool? get is2DImplementation
dart
bool? get is2D native;isIdentity no setter ​
bool? get isIdentityImplementation
dart
bool? get isIdentity native;m11 no setter ​
num? get m11Implementation
dart
num? get m11 native;m12 no setter ​
num? get m12Implementation
dart
num? get m12 native;m13 no setter ​
num? get m13Implementation
dart
num? get m13 native;m14 no setter ​
num? get m14Implementation
dart
num? get m14 native;m21 no setter ​
num? get m21Implementation
dart
num? get m21 native;m22 no setter ​
num? get m22Implementation
dart
num? get m22 native;m23 no setter ​
num? get m23Implementation
dart
num? get m23 native;m24 no setter ​
num? get m24Implementation
dart
num? get m24 native;m31 no setter ​
num? get m31Implementation
dart
num? get m31 native;m32 no setter ​
num? get m32Implementation
dart
num? get m32 native;m33 no setter ​
num? get m33Implementation
dart
num? get m33 native;m34 no setter ​
num? get m34Implementation
dart
num? get m34 native;m41 no setter ​
num? get m41Implementation
dart
num? get m41 native;m42 no setter ​
num? get m42Implementation
dart
num? get m42 native;m43 no setter ​
num? get m43Implementation
dart
num? get m43 native;m44 no setter ​
num? get m44Implementation
dart
num? get m44 native;runtimeType no setter inherited ​
Type get runtimeTypeInherited from Interceptor.
Implementation
dart
Type get runtimeType =>
getRuntimeTypeOfInterceptorNotArray(getInterceptor(this), this);Methods ​
flipX() ​
DomMatrix flipX()Implementation
dart
DomMatrix flipX() native;flipY() ​
DomMatrix flipY()Implementation
dart
DomMatrix flipY() native;inverse() ​
DomMatrix inverse()Implementation
dart
DomMatrix inverse() native;multiply() ​
Implementation
dart
DomMatrix multiply([Map? other]) {
if (other != null) {
var other_1 = convertDartToNative_Dictionary(other);
return _multiply_1(other_1);
}
return _multiply_2();
}noSuchMethod() inherited ​
dynamic noSuchMethod(Invocation invocation)Invoked when a nonexistent method or property is accessed.
A dynamic member invocation can attempt to call a member which doesn't exist on the receiving object. Example:
dart
dynamic object = 1;
object.add(42); // Statically allowed, run-time errorThis invalid code will invoke the noSuchMethod method of the integer 1 with an Invocation representing the .add(42) call and arguments (which then throws).
Classes can override noSuchMethod to provide custom behavior for such invalid dynamic invocations.
A class with a non-default noSuchMethod invocation can also omit implementations for members of its interface. Example:
dart
class MockList<T> implements List<T> {
noSuchMethod(Invocation invocation) {
log(invocation);
super.noSuchMethod(invocation); // Will throw.
}
}
void main() {
MockList().add(42);
}This code has no compile-time warnings or errors even though the MockList class has no concrete implementation of any of the List interface methods. Calls to List methods are forwarded to noSuchMethod, so this code will log an invocation similar to Invocation.method(#add, [42]) and then throw.
If a value is returned from noSuchMethod, it becomes the result of the original invocation. If the value is not of a type that can be returned by the original invocation, a type error occurs at the invocation.
The default behavior is to throw a NoSuchMethodError.
Inherited from Interceptor.
Implementation
dart
dynamic noSuchMethod(Invocation invocation) {
throw NoSuchMethodError.withInvocation(this, invocation);
}rotate() ​
Implementation
dart
DomMatrix rotate([num? rotX, num? rotY, num? rotZ]) native;rotateAxisAngle() ​
Implementation
dart
DomMatrix rotateAxisAngle([num? x, num? y, num? z, num? angle]) native;rotateFromVector() ​
Implementation
dart
DomMatrix rotateFromVector([num? x, num? y]) native;scale() ​
DomMatrix scale([
num? scaleX,
num? scaleY,
num? scaleZ,
num? originX,
num? originY,
num? originZ,
])Implementation
dart
DomMatrix scale([
num? scaleX,
num? scaleY,
num? scaleZ,
num? originX,
num? originY,
num? originZ,
]) native;scale3d() ​
Implementation
dart
DomMatrix scale3d([
num? scale,
num? originX,
num? originY,
num? originZ,
]) native;skewX() ​
Implementation
dart
DomMatrix skewX([num? sx]) native;skewY() ​
Implementation
dart
DomMatrix skewY([num? sy]) native;toFloat32Array() ​
Float32List toFloat32Array()Implementation
dart
Float32List toFloat32Array() native;toFloat64Array() ​
Float64List toFloat64Array()Implementation
dart
Float64List toFloat64Array() native;toString() inherited ​
String toString()A string representation of this object.
Some classes have a default textual representation, often paired with a static parse function (like int.parse). These classes will provide the textual representation as their string representation.
Other classes have no meaningful textual representation that a program will care about. Such classes will typically override toString to provide useful information when inspecting the object, mainly for debugging or logging.
Inherited from Interceptor.
Implementation
dart
String toString() => Primitives.objectToHumanReadableString(this);transformPoint() ​
Implementation
dart
DomPoint transformPoint([Map? point]) {
if (point != null) {
var point_1 = convertDartToNative_Dictionary(point);
return _transformPoint_1(point_1);
}
return _transformPoint_2();
}translate() ​
Implementation
dart
DomMatrix translate([num? tx, num? ty, num? tz]) native;Operators ​
operator ==() inherited ​
The equality operator.
The default behavior for all Objects is to return true if and only if this object and other are the same object.
Override this method to specify a different equality relation on a class. The overriding method must still be an equivalence relation. That is, it must be:
Total: It must return a boolean for all arguments. It should never throw.
Reflexive: For all objects
o,o == omust be true.Symmetric: For all objects
o1ando2,o1 == o2ando2 == o1must either both be true, or both be false.Transitive: For all objects
o1,o2, ando3, ifo1 == o2ando2 == o3are true, theno1 == o3must be true.
The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.
If a subclass overrides the equality operator, it should override the hashCode method as well to maintain consistency.
Inherited from Interceptor.
Implementation
dart
bool operator ==(Object other) => identical(this, other);Static Methods ​
fromFloat32Array() ​
DomMatrixReadOnly fromFloat32Array(Float32List array32)Implementation
dart
static DomMatrixReadOnly fromFloat32Array(Float32List array32) native;fromFloat64Array() ​
DomMatrixReadOnly fromFloat64Array(Float64List array64)Implementation
dart
static DomMatrixReadOnly fromFloat64Array(Float64List array64) native;fromMatrix() ​
DomMatrixReadOnly fromMatrix([Map<dynamic, dynamic>? other])Implementation
dart
static DomMatrixReadOnly fromMatrix([Map? other]) {
if (other != null) {
var other_1 = convertDartToNative_Dictionary(other);
return _fromMatrix_1(other_1);
}
return _fromMatrix_2();
}