transform method

Path transform (Float64List matrix4)

Returns a copy of the path with all the segments of every sub-path transformed by the given matrix.

Implementation

Path transform(Float64List matrix4) {
  assert(_matrix4IsValid(matrix4));
  final Path path = Path._();
  _transform(path, matrix4);
  return path;
}