rotateCounterClockwise method

BinaryBitmap rotateCounterClockwise()

Returns a new object with rotated image data by 90 degrees counterclockwise. Only callable if {@link #isRotateSupported()} is true.

@return A rotated version of this object.

Implementation

BinaryBitmap rotateCounterClockwise() {
  final newSource = _binarizer.luminanceSource.rotateCounterClockwise();
  return BinaryBitmap(_binarizer.createBinarizer(newSource));
}