getRotation method

String getRotation()

Implementation

String getRotation() {
  switch (this) {
    case CRotation.rotation_0:
      return "";
    case CRotation.rotation_90:
      return "90";
    case CRotation.rotation_180:
      return "180";
    case CRotation.rotation_270:
      return "270";
  }
}