getHeight method

int getHeight()

Implementation

int getHeight() {
  switch (this) {
    case CFont.tss16:
      return 16;
    case CFont.tss20:
      return 20;
    case CFont.tss20max1:
      return 40;
    case CFont.tss24:
      return 24;
    case CFont.tss28:
      return 28;
    case CFont.tss32:
      return 32;
    case CFont.tss24max1:
      return 48;
    case CFont.tss28max1:
      return 56;
    case CFont.tss32max1:
      return 64;
    case CFont.tss24max2:
      return 72;
    case CFont.tss28max2:
      return 84;
    case CFont.tss32max2:
      return 96;
  }
}