Class RGBColor

    • Constructor Detail

      • RGBColor

        public RGBColor​(int intRed,
                        int intGreen,
                        int intBlue)
        Constructs a RGB Color based on 3 color values (values are integers from 0 to 255).
        Parameters:
        intRed -
        intGreen -
        intBlue -
      • RGBColor

        public RGBColor​(int intRed,
                        int intGreen,
                        int intBlue,
                        int intAlpha)
        Constructs a RGB Color based on 3 color values (values are integers from 0 to 255).
        Parameters:
        intRed -
        intGreen -
        intBlue -
        intAlpha -
      • RGBColor

        public RGBColor​(float floatRed,
                        float floatGreen,
                        float floatBlue)
        Construct a RGB Color (values are floats from 0 to 1).
        Parameters:
        floatRed -
        floatGreen -
        floatBlue -
      • RGBColor

        public RGBColor​(float floatRed,
                        float floatGreen,
                        float floatBlue,
                        float floatAlpha)
        Construct a RGB Color (values are floats from 0 to 1).
        Parameters:
        floatRed -
        floatGreen -
        floatBlue -
        floatAlpha -