code: private static int getStyle(TextStyle style)
      {
          final int value;
          if (TextStyle.NORMAL == style)
          {
              value = Font.TRUETYPE_FONT;
          }
          else if (TextStyle.BOLD == style)
          {
              value = Font.BOLD;
          }
          else if (TextStyle.ITALIC == style)
          {
              value = Font.ITALIC;
          }
          else
          {
              throw new LionEngineException(style);
          }
          return value;
      }
docs: Get the style equivalence.
  
  @param style The font style (must not be <code>null</code>).
  @return The equivalence.
  @throws LionEngineException If invalid argument.