Class PseudoGrey



  • public class PseudoGrey
    extends java.lang.Object
    Algorithm by Rich Franzen, 22 July 1999 mailto:rich@r0k.us (c) 1999, Rich Franzen
    • Constructor Summary

      Constructors 
      Constructor Description
      PseudoGrey​()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.badlogic.gdx.graphics.Color toColor​(float grey)
      Transforms a brightness into a pseudogrey-color.
      static float toFloat​(com.badlogic.gdx.graphics.Color c)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PseudoGrey

        public PseudoGrey​()
    • Method Detail

      • toColor

        public static com.badlogic.gdx.graphics.Color toColor​(float grey)
        Transforms a brightness into a pseudogrey-color.
        Parameters:
        grey - the brightness
        Returns:
        a pseudo-grayscale color
      • toFloat

        public static float toFloat​(com.badlogic.gdx.graphics.Color c)
        Parameters:
        c -
        Returns: