Matrix class

Constructors

Matrix(num a, num b, num c, num d, num tx, num ty)
Matrix.fromIdentity()

Properties

a num
b num
c num
d num
det num
tx num
ty num
hashCode int
The hash code for this object. [...]
runtimeType Type
A representation of the runtime type of the object.

Methods

clone()
cloneInvert()
concat(Matrix matrix) → void
copyFrom(Matrix matrix) → void
copyFromAndConcat(Matrix copyMatrix, Matrix concatMatrix) → void
copyFromAndInvert(Matrix matrix) → void
createBox(num scaleX, num scaleY, [num rotation = 0.0, num translationX = 0.0, num translationY = 0.0]) → void
deltaTransformPoint(Point<num> point, [Point<num> returnPoint]) Point<num>
identity() → void
invert() → void
invertAndConcat(Matrix concatMatrix) → void
prepend(Matrix matrix) → void
prependTranslation(num translationX, num translationY) → void
rotate(num rotation) → void
scale(num scaleX, num scaleY) → void
setTo(num a, num b, num c, num d, num tx, num ty) → void
skew(num skewX, num skewY) → void
toString()
Returns a string representation of this object.
override
transformPoint(Point<num> point, [Point<num> returnPoint]) Point<num>
transformPointInverse(Point<num> point, [Point<num> returnPoint]) Point<num>
transformRectangle( rectangle, [ returnRectangle]) Rectangle<num>
transformVector(Vector vector)
translate(num translationX, num translationY) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

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