Class ColorBlindColorScheme

    • Field Summary

      Fields 
      Modifier and Type Field Description
      double[][] _lmsToRgb
      Matrix for converting LMS to RGB.
      double[][] _rgbToLms
      Matrix for converting RGB to LMS.
      • Fields inherited from class org.pushingpixels.radiance.theming.api.colorscheme.BaseColorScheme

        displayName, isDark
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.Color getDarkColor​()  
      java.awt.Color getExtraLightColor​()  
      java.awt.Color getForegroundColor​()  
      java.awt.Color getLightColor​()  
      java.awt.Color getMidColor​()  
      org.pushingpixels.radiance.theming.api.colorscheme.RadianceColorScheme getOrigScheme​()
      Returns the original color scheme.
      java.awt.Color getUltraDarkColor​()  
      java.awt.Color getUltraLightColor​()  
      • Methods inherited from class org.pushingpixels.radiance.theming.api.colorscheme.BaseColorScheme

        blendWith, getAccentedBackgroundFillColor, getBackgroundFillColor, getDisplayName, getEchoColor, getFocusRingColor, getLineColor, getMarkColor, getSelectionBackgroundColor, getSelectionForegroundColor, getSeparatorPrimaryColor, getSeparatorSecondaryColor, getTextBackgroundFillColor, hueShift, invert, isDark, named, negate, saturate, shade, shift, shiftBackground, tint, tone, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.pushingpixels.radiance.theming.api.colorscheme.RadianceColorScheme

        getColorFilter
      • Methods inherited from interface org.pushingpixels.radiance.theming.api.colorscheme.SchemeBaseColors

        toImage
    • Field Detail

      • _rgbToLms

        public double[][] _rgbToLms
        Matrix for converting RGB to LMS.
      • _lmsToRgb

        public double[][] _lmsToRgb
        Matrix for converting LMS to RGB.
    • Constructor Detail

      • ColorBlindColorScheme

        public ColorBlindColorScheme​(org.pushingpixels.radiance.theming.api.colorscheme.RadianceColorScheme origScheme,
                                     ColorBlindColorScheme.BlindnessKind kind)
        Creates a new color scheme that simulates color-blindness.
        Parameters:
        origScheme - Original color scheme.
        kind - Color-blindness kind.
    • Method Detail

      • getForegroundColor

        public java.awt.Color getForegroundColor​()
      • getUltraLightColor

        public java.awt.Color getUltraLightColor​()
      • getExtraLightColor

        public java.awt.Color getExtraLightColor​()
      • getLightColor

        public java.awt.Color getLightColor​()
      • getMidColor

        public java.awt.Color getMidColor​()
      • getDarkColor

        public java.awt.Color getDarkColor​()
      • getUltraDarkColor

        public java.awt.Color getUltraDarkColor​()
      • getOrigScheme

        public org.pushingpixels.radiance.theming.api.colorscheme.RadianceColorScheme getOrigScheme​()
        Returns the original color scheme.
        Returns:
        The original color scheme.