Matrix class

Constructors

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

Properties

a ↔ num
read / write
b ↔ num
read / write
c ↔ num
read / write
d ↔ num
read / write
det → num
read-only
tx ↔ num
read / write
ty ↔ num
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

clone() Matrix
cloneInvert() Matrix
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() → String
Returns a string representation of this object.
transformPoint(Point<num> point, [ Point<num> returnPoint ]) Point<num>
transformPointInverse(Point<num> point, [ Point<num> returnPoint ]) Point<num>
transformRectangle(Rectangle<num> rectangle, [ Rectangle<num> returnRectangle ]) Rectangle<num>
transformVector(Vector 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