rotateCounterClockwise method

LuminanceSource 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

LuminanceSource rotateCounterClockwise() {
  throw UnsupportedError(
      'This luminance source does not support rotation by 90 degrees.');
}