Matrix class

Constructors

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

Properties

a double
getter/setter pair
b double
getter/setter pair
c double
getter/setter pair
d double
getter/setter pair
det double
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tx double
getter/setter pair
ty double
getter/setter pair

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
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
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
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<num> rectangle, [Rectangle<num>? returnRectangle]) Rectangle<num>
transformVector(Vector vector) Vector
translate(num translationX, num translationY) → void

Operators

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