public interface SubstanceColorScheme extends SubstanceTrait, SchemeBaseColors, SchemeDerivedColors
| Modifier and Type | Method and Description |
|---|---|
SubstanceColorScheme |
hueShift(double hueShiftFactor)
Creates a hue-shifted (in HSB space) version of
this color
scheme. |
SubstanceColorScheme |
invert()
Creates an inverted version of
this scheme. |
boolean |
isDark()
Returns indication whether this color scheme uses dark colors.
|
SubstanceColorScheme |
named(java.lang.String colorSchemeDisplayName)
This method is a fluent-interface builder utility for setting the display
name for this color scheme.
|
SubstanceColorScheme |
negate()
Creates a negated version of
this scheme. |
SubstanceColorScheme |
saturate(double saturateFactor)
Creates a saturated or desaturated version of
this scheme. |
SubstanceColorScheme |
shade(double shadeFactor)
Creates a shaded (shifted towards black) version of
this
color scheme. |
SubstanceColorScheme |
shift(java.awt.Color backgroundShiftColor,
double backgroundShiftFactor,
java.awt.Color foregroundShiftColor,
double foregroundShiftFactor)
Creates a shift version of
this scheme. |
SubstanceColorScheme |
shiftBackground(java.awt.Color backgroundShiftColor,
double backgroundShiftFactor)
Creates a shift version of
this scheme. |
SubstanceColorScheme |
tint(double tintFactor)
Creates a tinted (shifted towards white) version of
this
color scheme. |
SubstanceColorScheme |
tone(double toneFactor)
Creates a toned (shifted towards gray) version of
this color
scheme. |
getDarkColor, getExtraLightColor, getForegroundColor, getLightColor, getMidColor, getUltraDarkColor, getUltraLightColorgetDisplayNamegetBackgroundFillColor, getFocusRingColor, getLineColor, getSelectionBackgroundColor, getSelectionForegroundColor, getTextBackgroundFillColor, getWatermarkDarkColor, getWatermarkLightColor, getWatermarkStampColorboolean isDark()
true if this color scheme uses dark colors,
false otherwise.SubstanceColorScheme shift(java.awt.Color backgroundShiftColor, double backgroundShiftFactor, java.awt.Color foregroundShiftColor, double foregroundShiftFactor)
this scheme.backgroundShiftColor - Shift color for background colors. Should have full opacity.backgroundShiftFactor - Value in 0.0...1.0 range. Larger values shift more towards the
specified color.foregroundShiftColor - Shift color for foreground colors. Should have full opacity.foregroundShiftFactor - Value in 0.0...1.0 range. Larger values shift more towards the
specified color.this scheme.SubstanceColorScheme shiftBackground(java.awt.Color backgroundShiftColor, double backgroundShiftFactor)
this scheme.backgroundShiftColor - Shift color for background colors. Should have full opacity.backgroundShiftFactor - Value in 0.0...1.0 range. Larger values shift more towards the
specified color.this scheme that does not change
the foreground color.SubstanceColorScheme tint(double tintFactor)
this
color scheme.tintFactor - Value in 0.0...1.0 range. Larger values shift more towards
white color.this scheme.SubstanceColorScheme tone(double toneFactor)
this color
scheme.toneFactor - Value in 0.0...1.0 range. Larger values shift more towards
gray color.this scheme.SubstanceColorScheme shade(double shadeFactor)
this
color scheme.shadeFactor - Value in 0.0...1.0 range. Larger values shift more towards
black color.this scheme.SubstanceColorScheme saturate(double saturateFactor)
this scheme.
The value and brightness stay the same.saturateFactor - Value in -1.0...1.0 range. Positive values create more
saturated colors. Negative values create more desaturated
colors.this scheme.SubstanceColorScheme invert()
this scheme.this scheme.SubstanceColorScheme negate()
this scheme.this scheme.SubstanceColorScheme hueShift(double hueShiftFactor)
this color
scheme.hueShiftFactor - Value in -1.0...1.0 range.this scheme.SubstanceColorScheme named(java.lang.String colorSchemeDisplayName)
this instance.colorSchemeDisplayName - New display name for this color scheme.