code: @Override
      public void setTransform(AffineTransform t) {
          if (t == null) {
              this.transform = new AffineTransform();
          } else {
              this.transform = new AffineTransform(t);
          }
          this.clipRef = null;
      }
docs: Sets the transform.
  
  @param t  the new transform ({@code null} permitted, resets to the
  identity transform).
  
  @see #getTransform()