SchemeBaseColors, SchemeDerivedColors, SubstanceTraitAquaColorScheme, BarbyPinkColorScheme, BaseColorScheme, BaseDarkColorScheme, BaseLightColorScheme, BottleGreenColorScheme, BrownColorScheme, CharcoalColorScheme, CremeColorScheme, DarkGrayColorScheme, DarkMetallicColorScheme, DarkVioletColorScheme, DesertSandColorScheme, EbonyColorScheme, JadeForestColorScheme, LightAquaColorScheme, LightGrayColorScheme, LimeGreenColorScheme, MetallicColorScheme, OliveColorScheme, OrangeColorScheme, PurpleColorScheme, RaspberryColorScheme, SepiaColorScheme, SteelBlueColorScheme, SunfireRedColorScheme, SunGlareColorScheme, SunsetColorScheme, TerracottaColorScheme, UltramarineColorSchemepublic interface SubstanceColorScheme extends SubstanceTrait, SchemeBaseColors, SchemeDerivedColors
| Modifier and Type | Method | Description |
|---|---|---|
SubstanceColorScheme |
blendWith(SubstanceColorScheme otherScheme,
double likenessToThisScheme) |
Creates a blended version of
this color scheme based on another
color scheme. |
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, getUltraLightColor, toImagegetBackgroundFillColor, getFocusRingColor, getLineColor, getSelectionBackgroundColor, getSelectionForegroundColor, getSeparatorDarkColor, getSeparatorLightColor, getSeparatorShadowColor, getTextBackgroundFillColorgetDisplayNameboolean 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 blendWith(SubstanceColorScheme otherScheme, double likenessToThisScheme)
this color scheme based on another
color scheme.otherScheme - The other color scheme for blending colors.likenessToThisScheme - Defines how close the colors of the resulting
color scheme are to this scheme. Value of 1.0 returns a color
scheme with the exact colors of this color scheme. Value of 0.0
returns a color scheme with the exact colors of the other color
scheme.SubstanceColorScheme named(java.lang.String colorSchemeDisplayName)
this instance.colorSchemeDisplayName - New display name for this color scheme.