turns property
double
get
turns
Implementation
double get turns {
switch (this) {
case DeviceOrientation.portraitUp:
return 0;
case DeviceOrientation.landscapeLeft:
return -.75;
case DeviceOrientation.landscapeRight:
return .75;
case DeviceOrientation.portraitDown:
return .5;
}
}