Class RgbaQuadruplet

    • Method Detail

      • getRedInt

        public int getRedInt()
      • getRedNorm

        public double getRedNorm()
      • getGreenInt

        public int getGreenInt()
      • getGreenNorm

        public double getGreenNorm()
      • getBlueInt

        public int getBlueInt()
      • getBlueNorm

        public double getBlueNorm()
      • getAlphaInt

        public int getAlphaInt()
      • getAlphaNorm

        public double getAlphaNorm()
      • getHex

        public String getHex()
      • getRgb

        public long getRgb()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • scaled

        public RgbaQuadruplet scaled​(double scaleRed,
                                     double scaleGreen,
                                     double scaleBlue,
                                     double alphaScale)
        Parameters:
        scaleRed - Scale for the red value.
        scaleGreen - Scale for the green value.
        scaleBlue - Scale for the blue value.
        alphaScale - Scale for the alpha value.
        Returns:
        Scales all components by the given factors.
      • of

        public static RgbaQuadruplet of​(double red,
                                        double green,
                                        double blue,
                                        double alpha)
      • of

        public static RgbaQuadruplet of​(int red,
                                        int green,
                                        int blue,
                                        int alpha)