Returns a copy of the path with all the segments of every subpath transformed by the given matrix.
Source
Path transform(Float64List matrix4) {
if (matrix4.length != 16)
throw new ArgumentError("[matrix4] must have 16 entries.");
return _transform(matrix4);
}