code: function createTransform() {
           if (this.currentTransform === null) {
             this.currentTransform = new me.Matrix2d();
           } else {
             // reset the matrix
             this.currentTransform.identity();
           }
  
           if (this.flippedAD) {
             // Use shearing to swap the X/Y axis
             this.currentTransform.setTransform(0, 1, 0, 1, 0, 0, 0, 0, 1);
             this.currentTransform.translate(0, this.height - this.width);
           }
  
           if (this.flippedX) {
             this.currentTransform.translate(this.flippedAD ? 0 : this.width, this.flippedAD ? this.height : 0);
             this.currentTransform.scaleX(-1);
           }
  
           if (this.flippedY) {
             this.currentTransform.translate(this.flippedAD ? this.width : 0, this.flippedAD ? 0 : this.height);
             this.currentTransform.scaleY(-1);
           }
         }
docs: create a transformation matrix for this tile
  @ignore