Class AbstractColourScheme

    • Constructor Detail

      • AbstractColourScheme

        public AbstractColourScheme()
    • Method Detail

      • get

        public String get​(String colourName,
                          double lightnessDelta)
        Specified by:
        get in interface ColourScheme
        Parameters:
        colourName - name of the colour to retrieve
        lightnessDelta - value to add or deduct from the current lightness of the colour. Can be negative.
      • rgbToHsl

        @Deprecated
        public static void rgbToHsl​(int rgb,
                                    float[] hsl)
        Deprecated.
        since 5.10
        This method does not take alpha channel into account.
        Parameters:
        rgb -
        hsl -
      • hslToRgb

        @Deprecated
        public static int hslToRgb​(float[] hsl)
        Deprecated.
        since 5.10
        This method does not take alpha channel into account
        Parameters:
        hsl -
        Returns:
        rgb value