Class ToneColorScheme
java.lang.Object
org.pushingpixels.substance.api.colorscheme.BaseColorScheme
org.pushingpixels.substance.internal.colorscheme.ShiftColorScheme
org.pushingpixels.substance.internal.colorscheme.ToneColorScheme
- All Implemented Interfaces:
SchemeBaseColors, SchemeDerivedColors, SubstanceColorScheme, SubstanceTrait
Toned color scheme. A toned color scheme is a color scheme that is shifted to
gray color.
- See Also:
-
Field Summary
Fields inherited from class ShiftColorScheme
shiftedCacheFields inherited from class BaseColorScheme
derivedColorsResolver, displayName, isDark -
Constructor Summary
ConstructorsConstructorDescriptionToneColorScheme(SubstanceColorScheme origColorScheme, double toneFactor) Creates a new toned color scheme. -
Method Summary
Methods inherited from class ShiftColorScheme
getDarkColor, getExtraLightColor, getForegroundColor, getLightColor, getMidColor, getOrigScheme, getShiftedScheme, getShiftFactor, getUltraDarkColor, getUltraLightColorMethods inherited from class BaseColorScheme
getBackgroundFillColor, getDisplayName, getFocusRingColor, getLineColor, getResolver, getSelectionBackgroundColor, getSelectionForegroundColor, getTextBackgroundFillColor, getWatermarkDarkColor, getWatermarkLightColor, getWatermarkStampColor, hueShift, invert, isDark, named, negate, saturate, shade, shift, shiftBackground, tint, tone, toString
-
Constructor Details
-
ToneColorScheme
Creates a new toned color scheme.- Parameters:
origColorScheme- The original color scheme.toneFactor- The tone factor. Should be in 0.0-1.0 range.
-