rotate method

Mat rotate(
  1. int rotationCode, {
  2. bool inplace = false,
})

Implementation

Mat rotate(int rotationCode, {bool inplace = false}) {
  if (inplace) {
    cvRun(() => cffi.Rotate(ref, ref, rotationCode));
    return this;
  } else {
    final dst = clone();
    cvRun(() => cffi.Rotate(ref, dst.ref, rotationCode));
    return dst;
  }
}