Class Color

  • All Implemented Interfaces:
    javajs.api.GenericColor

    public class Color
    extends Object
    implements javajs.api.GenericColor
    • Field Detail

      • argb

        public int argb
    • Constructor Detail

      • Color

        public Color()
    • Method Detail

      • getRGB

        public int getRGB()
        Specified by:
        getRGB in interface javajs.api.GenericColor
      • getOpacity255

        public int getOpacity255()
        Specified by:
        getOpacity255 in interface javajs.api.GenericColor
      • setOpacity255

        public void setOpacity255​(int a)
        Specified by:
        setOpacity255 in interface javajs.api.GenericColor
      • get1

        public static javajs.api.GenericColor get1​(int rgb)
      • get3

        public static javajs.api.GenericColor get3​(int r,
                                                   int g,
                                                   int b)
      • get4

        public static javajs.api.GenericColor get4​(int r,
                                                   int g,
                                                   int b,
                                                   int a)
      • set4

        private javajs.api.GenericColor set4​(int r,
                                             int g,
                                             int b,
                                             int a)