code: public static IShape createTransformedShape (Transform t, IShape src) {
          if (src == null) {
              return null;
          }
          if (src instanceof Path) {
              return ((Path)src).createTransformedShape(t);
          }
          PathIterator path = src.pathIterator(t);
          Path dst = new Path(path.windingRule());
          dst.append(path, false);
          return dst;
      }
docs: Creates and returns a new shape that is the supplied shape transformed by this transform's
  matrix.