Class AbstractARGBDoubleType<T extends AbstractARGBDoubleType<T>>

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(T c)  
      void div​(T c)  
      abstract double getA()  
      abstract double getB()  
      abstract double getG()  
      abstract double getR()  
      void mul​(double c)  
      void mul​(float c)  
      void mul​(T c)  
      void set​(double a, double r, double g, double b)  
      void set​(T c)
      Sets the value of another Type.
      abstract void setA​(double a)  
      abstract void setB​(double b)  
      abstract void setG​(double g)  
      void setOne()  
      abstract void setR​(double r)  
      void setZero()  
      void sub​(T c)  
      int toARGBInt()
      Create and integer packed representation of this ARGB value.
      boolean valueEquals​(T t)  
      • Methods inherited from class java.lang.Object

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

      • AbstractARGBDoubleType

        public AbstractARGBDoubleType()
    • Method Detail

      • getA

        public abstract double getA()
      • getR

        public abstract double getR()
      • getG

        public abstract double getG()
      • getB

        public abstract double getB()
      • setA

        public abstract void setA​(double a)
      • setR

        public abstract void setR​(double r)
      • setG

        public abstract void setG​(double g)
      • setB

        public abstract void setB​(double b)
      • set

        public void set​(double a,
                        double r,
                        double g,
                        double b)
      • set

        public void set​(T c)
        Description copied from interface: Type
        Sets the value of another Type.
        Specified by:
        set in interface Type<T extends AbstractARGBDoubleType<T>>
        Parameters:
        c - the new value
      • setZero

        public void setZero()
        Specified by:
        setZero in interface SetZero
      • setOne

        public void setOne()
        Specified by:
        setOne in interface SetOne
      • toARGBInt

        public int toARGBInt()
        Create and integer packed representation of this ARGB value. Crop