code: @Override
      public boolean drawImage(Image img, AffineTransform xform, 
              ImageObserver obs) {
          AffineTransform savedTransform = getTransform();
          if (xform != null) {
              transform(xform);
          }
          boolean result = drawImage(img, 0, 0, obs);
          if (xform != null) {
              setTransform(savedTransform);
          }
          return result;
      }
docs: Draws an image with the specified transform. Note that the
  {@code observer} is ignored.
  
  @param img  the image.
  @param xform  the transform ({@code null} permitted).
  @param obs  the image observer (ignored).
  
  @return {@code true} if the image is drawn.