Class RgbaColor

    • Field Detail

      • LIGHT_GRAY

        public static final RgbaColor LIGHT_GRAY
      • DARK_GRAY

        public static final RgbaColor DARK_GRAY
      • DARK_GRAY2

        public static final RgbaColor DARK_GRAY2
      • BLACK_DARKEN

        public static final RgbaColor BLACK_DARKEN
      • LIGHT_RED

        public static final RgbaColor LIGHT_RED
      • DARK_RED

        public static final RgbaColor DARK_RED
      • DARK_RED2

        public static final RgbaColor DARK_RED2
      • DARK_PINK

        public static final RgbaColor DARK_PINK
      • DARK_PINK2

        public static final RgbaColor DARK_PINK2
      • LIGHT_YELLOW

        public static final RgbaColor LIGHT_YELLOW
      • YELLOW

        public static final RgbaColor YELLOW
      • DARK_YELLOW

        public static final RgbaColor DARK_YELLOW
      • DARK_YELLOW2

        public static final RgbaColor DARK_YELLOW2
      • LIGHT_ORANGE

        public static final RgbaColor LIGHT_ORANGE
      • ORANGE

        public static final RgbaColor ORANGE
      • DARK_ORANGE

        public static final RgbaColor DARK_ORANGE
      • DARK_ORANGE2

        public static final RgbaColor DARK_ORANGE2
      • LIGHT_GREEN

        public static final RgbaColor LIGHT_GREEN
      • DARK_GREEN

        public static final RgbaColor DARK_GREEN
      • DARK_GREEN2

        public static final RgbaColor DARK_GREEN2
      • LIGHT_BLUE

        public static final RgbaColor LIGHT_BLUE
      • DARK_BLUE

        public static final RgbaColor DARK_BLUE
      • DARK_BLUE2

        public static final RgbaColor DARK_BLUE2
      • r

        protected int r
      • g

        protected int g
      • b

        protected int b
      • a

        protected int a
    • Constructor Detail

      • RgbaColor

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

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

        public RgbaColor​(Color color)
      • RgbaColor

        public RgbaColor​(RgbaColor color)
    • Method Detail

      • toAwtColor

        public Color toAwtColor()
      • screen

        public void screen​(RgbaColor other)
      • getR

        public int getR()
      • setR

        public void setR​(int r)
      • getG

        public int getG()
      • setG

        public void setG​(int g)
      • getB

        public int getB()
      • setB

        public void setB​(int b)
      • getA

        public int getA()
      • setA

        public void setA​(int a)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object