public class ColorBlindColorScheme extends BaseColorScheme
| Modifier and Type | Class and Description |
|---|---|
static class |
ColorBlindColorScheme.BlindnessKind
Blindness kind.
|
| Modifier and Type | Field and Description |
|---|---|
double[][] |
_lmsToRgb
Matrix for converting LMS to RGB.
|
double[][] |
_rgbToLms
Matrix for converting RGB to LMS.
|
derivedColorsResolver, displayName, isDark| Constructor and Description |
|---|
ColorBlindColorScheme(SubstanceColorScheme origScheme,
ColorBlindColorScheme.BlindnessKind kind)
Creates a new color scheme that simulates color-blindness.
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.Color |
getDarkColor()
Retrieves the dark color.
|
java.awt.Color |
getExtraLightColor()
Retrieves the extra color.
|
java.awt.Color |
getForegroundColor()
Retrieves the foreground color.
|
java.awt.Color |
getLightColor()
Retrieves the light color.
|
java.awt.Color |
getMidColor()
Retrieves the medium color.
|
SubstanceColorScheme |
getOrigScheme()
Returns the original color scheme.
|
java.awt.Color |
getUltraDarkColor()
Retrieves the ultra-dark color.
|
java.awt.Color |
getUltraLightColor()
Retrieves the ultra-light color.
|
getBackgroundFillColor, getDisplayName, getFocusRingColor, getLineColor, getSelectionBackgroundColor, getSelectionForegroundColor, getTextBackgroundFillColor, getWatermarkDarkColor, getWatermarkLightColor, getWatermarkStampColor, hueShift, invert, isDark, named, negate, saturate, shade, shift, shiftBackground, tint, tone, toStringpublic double[][] _rgbToLms
public double[][] _lmsToRgb
public ColorBlindColorScheme(SubstanceColorScheme origScheme, ColorBlindColorScheme.BlindnessKind kind)
origScheme - Original color scheme.kind - Color-blindness kind.public java.awt.Color getForegroundColor()
SchemeBaseColorspublic java.awt.Color getUltraLightColor()
SchemeBaseColorspublic java.awt.Color getExtraLightColor()
SchemeBaseColorspublic java.awt.Color getLightColor()
SchemeBaseColorspublic java.awt.Color getMidColor()
SchemeBaseColorspublic java.awt.Color getDarkColor()
SchemeBaseColorspublic java.awt.Color getUltraDarkColor()
SchemeBaseColorspublic SubstanceColorScheme getOrigScheme()