toElevation method

double toElevation()

Implementation

double toElevation() {
  switch (this) {
    case TShadowLevel.none:
      return 0;
    case TShadowLevel.low:
      return 1;
    case TShadowLevel.medium:
      return 4;
    case TShadowLevel.high:
      return 8;
  }
}