getRotation static method
getRotation
Implementation
static int getRotation(Rotation rotation) {
switch (rotation) {
case Rotation.r_0:
return 0;
case Rotation.r_90:
return 90;
case Rotation.r_180:
return 180;
case Rotation.r_270:
return 270;
}
}