ToneColorScheme

class ToneColorScheme(origColorScheme: AuroraColorScheme, shadeFactor: Float) : ShiftColorScheme

Toned color scheme. A toned color scheme is a color scheme that is shifted towards gray color.

Constructors

Link copied to clipboard
fun ToneColorScheme(origColorScheme: AuroraColorScheme, shadeFactor: Float)

Functions

Link copied to clipboard
open override fun blendWith(otherScheme: AuroraColorScheme, likenessToThisScheme: Float): AuroraColorScheme

Creates a blended version of this color scheme based on another color scheme.

Link copied to clipboard
open override fun hueShift(hueShiftFactor: Float): AuroraColorScheme

Creates a hue-shifted (in HSB space) version of this color scheme.

Link copied to clipboard
open override fun invert(): AuroraColorScheme

Creates an inverted version of this scheme.

Link copied to clipboard
open override fun negate(): AuroraColorScheme

Creates a negated version of this scheme.

Link copied to clipboard
open override fun saturate(saturateFactor: Float): AuroraColorScheme

Creates a saturated or desaturated version of this scheme. The value and brightness stay the same.

Link copied to clipboard
open override fun shade(shadeFactor: Float): AuroraColorScheme

Creates a shaded (shifted towards black) version of this color scheme.

Link copied to clipboard
open override fun shift(backgroundShiftColor: Color, backgroundShiftFactor: Float, foregroundShiftColor: Color, foregroundShiftFactor: Float): AuroraColorScheme

Creates a shift version of this scheme.

Link copied to clipboard
open override fun tint(tintFactor: Float): AuroraColorScheme

Creates a tinted (shifted towards white) version of this color scheme.

Link copied to clipboard
open override fun tone(toneFactor: Float): AuroraColorScheme

Creates a toned (shifted towards gray) version of this color scheme.

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
open override val accentedBackgroundFillColor: Color

Returns the accented background fill color for this scheme.

Link copied to clipboard
open override val backgroundFillColor: Color

Returns the background fill color for this scheme.

Link copied to clipboard
val dark: Color
Link copied to clipboard
open override val darkColor: Color
Link copied to clipboard
open override val displayName: String

The display name of this trait.

Link copied to clipboard
open override val echoColor: Color

Returns the echo color for this scheme. Echo color is used for drawing slight echo / drop shadow around title pane texts and similar "primary" elements.

Link copied to clipboard
val extraLight: Color
Link copied to clipboard
open override val extraLightColor: Color
Link copied to clipboard
open override val focusRingColor: Color

Returns the focus ring color for this scheme.

Link copied to clipboard
val foreground: Color
Link copied to clipboard
open override val foregroundColor: Color
Link copied to clipboard
open override val isDark: Boolean

Returns indication whether this color scheme uses dark colors. Note that this method may be removed in the future. It is highly recommended to use one of the colors from the parent SchemeBaseColors and SchemeDerivedColors interfaces instead.

Link copied to clipboard
val light: Color
Link copied to clipboard
open override val lightColor: Color
Link copied to clipboard
open override val lineColor: Color

Returns the line color for this scheme.

Link copied to clipboard
open override val markColor: Color

Returns the mark color for this scheme. Mark color is used on checkboxes, radio buttons, scrollbar arrows, combo arrows, menu arrows, etc.

Link copied to clipboard
val mid: Color
Link copied to clipboard
open override val midColor: Color
Link copied to clipboard
open override val selectionBackgroundColor: Color

Returns the selection background color for this scheme.

Link copied to clipboard
open override val selectionForegroundColor: Color

Returns the selection foreground color for this scheme.

Link copied to clipboard
open override val separatorPrimaryColor: Color

Returns the primary separator color for this scheme.

Link copied to clipboard
open override val separatorSecondaryColor: Color

Returns the secondary separator color for this scheme.

Link copied to clipboard
open override val textBackgroundFillColor: Color

Returns the text background fill color for this scheme.

Link copied to clipboard
val ultraDark: Color
Link copied to clipboard
open override val ultraDarkColor: Color
Link copied to clipboard
val ultraLight: Color
Link copied to clipboard
open override val ultraLightColor: Color