rotate method

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

Implementation

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