setTransformation method

AffineTransformation setTransformation(
  1. double m00,
  2. double m01,
  3. double m02,
  4. double m10,
  5. double m11,
  6. double m12,
)

Sets this transformation's matrix to have the given values.

@param m00 the entry for the 0, 0 element in the transformation matrix @param m01 the entry for the 0, 1 element in the transformation matrix @param m02 the entry for the 0, 2 element in the transformation matrix @param m10 the entry for the 1, 0 element in the transformation matrix @param m11 the entry for the 1, 1 element in the transformation matrix @param m12 the entry for the 1, 2 element in the transformation matrix @return this transformation, with an updated matrix

Implementation

AffineTransformation setTransformation(
    double m00, double m01, double m02, double m10, double m11, double m12) {
  this.m00 = m00;
  this.m01 = m01;
  this.m02 = m02;
  this.m10 = m10;
  this.m11 = m11;
  this.m12 = m12;
  return this;
}