# MatrixUtils class

Utility functions for working with matrices.

## Properties

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

## Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString()
Returns a string representation of this object.
inherited

## Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

## Static Methods

createCylindricalProjectionTransform({double radius, double angle, double perspective: 0.001, Axis orientation: Axis.vertical })
Create a transformation matrix which mimics the effects of tangentially wrapping the plane on which this transform is applied around a cylinder and then looking at the cylinder from a point outside the cylinder. [...]
forceToPoint(Offset offset)
Returns a matrix that transforms every point to `offset`.
getAsScale(Matrix4 transform)
Returns the given `transform` matrix as a double describing a uniform scale, if the matrix is nothing but a symmetric 2D scale transform. [...]
getAsTranslation(Matrix4 transform)
Returns the given `transform` matrix as an Offset, if the matrix is nothing but a 2D translation. [...]
inverseTransformRect(Matrix4 transform, Rect rect) Rect
Returns a rect that bounds the result of applying the inverse of the given matrix as a perspective transform to the given rect. [...]
isIdentity() bool
Whether the given matrix is the identity matrix.
matrixEquals( ) bool
Returns true if the given matrices are exactly equal, and false otherwise. Null values are assumed to be the identity matrix.
transformPoint(Matrix4 transform, Offset point)
Applies the given matrix as a perspective transform to the given point. [...]
transformRect(Matrix4 transform, Rect rect) Rect
Returns a rect that bounds the result of applying the given matrix as a perspective transform to the given rect. [...]