getRotation method

String getRotation()

Implementation

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