code: public void applyToPath(Matrix transform, Path path) {
          for (int i = 0, size = operations.size(); i < size; i++) {
              PathOperation operation = operations.get(i);
              operation.applyToPath(transform, path);
          }
      }
docs: Apply the ShapePath sequence to a {@link Path} under a matrix transform.
  
  @param transform the matrix transform under which this ShapePath is applied
  @param path      the path to which this ShapePath is applied