code: public static int getTransparency(Transparency transparency)
      {
          Check.notNull(transparency);
  
          final int value;
          if (Transparency.OPAQUE == transparency)
          {
              value = java.awt.Transparency.OPAQUE;
          }
          else if (Transparency.BITMASK == transparency)
          {
              value = java.awt.Transparency.BITMASK;
          }
          else if (Transparency.TRANSLUCENT == transparency)
          {
              value = java.awt.Transparency.TRANSLUCENT;
          }
          else
          {
              throw new LionEngineException(transparency);
          }
          return value;
      }
docs: Get the image transparency equivalence.
  
  @param transparency The transparency type (must not be <code>null</code>).
  @return The transparency value.
  @throws LionEngineException If invalid argument.