transform method

Path transform (Float64List matrix4)

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

Implementation

Path transform(Float64List matrix4) {
  assert(matrix4 != null);
  if (matrix4.length != 16)
    throw new ArgumentError('"matrix4" must have 16 entries.');
  return _transform(matrix4);
}