SchemeBaseColors
, SchemeDerivedColors
, SubstanceColorScheme
, SubstanceTrait
public class HueShiftColorScheme extends BaseColorScheme
derivedColorsResolver, displayName, isDark
Constructor | Description |
---|---|
HueShiftColorScheme(SubstanceColorScheme origScheme,
double hueShiftFactor) |
Creates a new hue-shifted 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.
|
double |
getHueShiftFactor() |
Returns the hue-shift factor.
|
Color |
getLightColor() |
Retrieves the light color.
|
Color |
getMidColor() |
Retrieves the medium color.
|
SubstanceColorScheme |
getOrigScheme() |
Returns the original color scheme.
|
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 HueShiftColorScheme(SubstanceColorScheme origScheme, double hueShiftFactor)
origScheme
- The original color scheme.hueShiftFactor
- Shift 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 getHueShiftFactor()