Interface ThreeChannelColor

  • All Superinterfaces:
    Serializable
    All Known Implementing Classes:
    HSVColor, RGBColor, YUVColor

    public interface ThreeChannelColor
    extends Serializable

    Interface representing a three channels color (e.g. RGB, HSV, HSL, HSB, Lab, ...)

    Since:
    1.0
    Author:
    Christoph Praschl
    • Method Detail

      • getChannel1

        double getChannel1()
        Returns:
        The first channel for the represented color
      • setChannel1

        void setChannel1​(double channel)
        Parameters:
        channel - The first channel for the represented color
      • getChannel2

        double getChannel2()
        Returns:
        The second channel for the represented color
      • setChannel2

        void setChannel2​(double channel)
        Parameters:
        channel - The second channel for the represented color
      • getChannel3

        double getChannel3()
        Returns:
        The third channel for the represented color
      • setChannel3

        void setChannel3​(double channel)
        Parameters:
        channel - The third channel for the represented color