translated method
Creates a new affine matrix, translated along the x and y axis.
Implementation
AffineMatrix translated(double x, double y) {
return AffineMatrix(
a,
b,
c,
d,
(a * x) + (c * y) + e,
(b * x) + (d * y) + f,
_m4_10,
);
}