Package sig.engine

Class Color


  • public class Color
    extends java.lang.Object
    • Field Detail

      • BLACK

        public static final Color BLACK
      • RED

        public static final Color RED
      • GREEN

        public static final Color GREEN
      • YELLOW

        public static final Color YELLOW
      • BLUE

        public static final Color BLUE
      • MAGENTA

        public static final Color MAGENTA
      • CYAN

        public static final Color CYAN
      • WHITE

        public static final Color WHITE
      • BRIGHT_BLACK

        public static final Color BRIGHT_BLACK
      • BRIGHT_RED

        public static final Color BRIGHT_RED
      • BRIGHT_GREEN

        public static final Color BRIGHT_GREEN
      • BRIGHT_YELLOW

        public static final Color BRIGHT_YELLOW
      • BRIGHT_BLUE

        public static final Color BRIGHT_BLUE
      • BRIGHT_MAGENTA

        public static final Color BRIGHT_MAGENTA
      • BRIGHT_CYAN

        public static final Color BRIGHT_CYAN
      • BRIGHT_WHITE

        public static final Color BRIGHT_WHITE
    • Constructor Detail

      • Color

        public Color​(int r,
                     int g,
                     int b)
      • Color

        public Color​(float r,
                     float g,
                     float b)
      • Color

        public Color​(float r,
                     float g,
                     float b,
                     float a)
      • Color

        public Color​(int r,
                     int g,
                     int b,
                     int a)
      • Color

        public Color​(int rgb)
    • Method Detail

      • getColor

        public int getColor()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • clone

        protected Color clone()
                       throws java.lang.CloneNotSupportedException
        Overrides:
        clone in class java.lang.Object
        Throws:
        java.lang.CloneNotSupportedException