SchemeBaseColors
, SchemeDerivedColors
, SubstanceColorScheme
, SubstanceTrait
public class SaturatedColorScheme extends BaseColorScheme
ShiftColorScheme
derivedColorsResolver, displayName, isDark
Constructor | Description |
---|---|
SaturatedColorScheme(SubstanceColorScheme origScheme,
double saturationFactor) |
Creates a new saturated color scheme.
|
Modifier and Type | Method | Description |
---|---|---|
Color |
getDarkColor() |
Retrieves the dark color.
|
Color |
getExtraLightColor() |
Retrieves the extra color.
|
Color |
getForegroundColor() |
Retrieves the foreground color.
|
Color |
getLightColor() |
Retrieves the light color.
|
Color |
getMidColor() |
Retrieves the medium color.
|
SubstanceColorScheme |
getOrigScheme() |
Returns the original color scheme.
|
double |
getSaturationFactor() |
Returns the saturation factor.
|
Color |
getUltraDarkColor() |
Retrieves the ultra-dark color.
|
Color |
getUltraLightColor() |
Retrieves the ultra-light color.
|
getBackgroundFillColor, getDisplayName, getFocusRingColor, getLineColor, getResolver, getSelectionBackgroundColor, getSelectionForegroundColor, getTextBackgroundFillColor, getWatermarkDarkColor, getWatermarkLightColor, getWatermarkStampColor, hueShift, invert, isDark, named, negate, saturate, shade, shift, shiftBackground, tint, tone, toString
public SaturatedColorScheme(SubstanceColorScheme origScheme, double saturationFactor)
origScheme
- The original color scheme.saturationFactor
- Saturation factor. Should be in -1.0..1.0 range.public Color getForegroundColor()
SchemeBaseColors
public Color getUltraLightColor()
SchemeBaseColors
public Color getExtraLightColor()
SchemeBaseColors
public Color getLightColor()
SchemeBaseColors
public Color getMidColor()
SchemeBaseColors
public Color getDarkColor()
SchemeBaseColors
public Color getUltraDarkColor()
SchemeBaseColors
public SubstanceColorScheme getOrigScheme()
public double getSaturationFactor()