flipXY method

bool flipXY()

Implementation

bool flipXY() {
  if (Platform.isAndroid) {
    switch (rotation) {
      case InputAnalysisImageRotation.rotation0deg:
      case InputAnalysisImageRotation.rotation180deg:
        return true;
      case InputAnalysisImageRotation.rotation90deg:
      default:
        return false;
    }
  }
  return false;
}