Interface ColorSchemeSingleColorQuery
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Defines a query that returns a single color based on a color scheme.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ColorSchemeSingleColorQuery
Core implementation of theColorSchemeSingleColorQuery
interface that returns the dark color of the specified color scheme.static final ColorSchemeSingleColorQuery
Core implementation of theColorSchemeSingleColorQuery
interface that returns the extra light color of the specified color scheme.static final ColorSchemeSingleColorQuery
Core implementation of theColorSchemeSingleColorQuery
interface that returns the foreground color of the specified color scheme.static final ColorSchemeSingleColorQuery
Core implementation of theColorSchemeSingleColorQuery
interface that returns the light color of the specified color scheme.static final ColorSchemeSingleColorQuery
Core implementation of theColorSchemeSingleColorQuery
interface that returns the mid color of the specified color scheme.static final ColorSchemeSingleColorQuery
Core implementation of theColorSchemeSingleColorQuery
interface that returns the ultra dark color of the specified color scheme.static final ColorSchemeSingleColorQuery
Core implementation of theColorSchemeSingleColorQuery
interface that returns the ultra light color of the specified color scheme. -
Method Summary
Modifier and TypeMethodDescriptionstatic ColorSchemeSingleColorQuery
composite
(ColorSchemeSingleColorQuery base, ColorTransform... transforms) query
(RadianceColorScheme scheme) Returns a single color based on the specified color scheme.
-
Field Details
-
ULTRALIGHT
Core implementation of theColorSchemeSingleColorQuery
interface that returns the ultra light color of the specified color scheme. -
EXTRALIGHT
Core implementation of theColorSchemeSingleColorQuery
interface that returns the extra light color of the specified color scheme. -
LIGHT
Core implementation of theColorSchemeSingleColorQuery
interface that returns the light color of the specified color scheme. -
MID
Core implementation of theColorSchemeSingleColorQuery
interface that returns the mid color of the specified color scheme. -
DARK
Core implementation of theColorSchemeSingleColorQuery
interface that returns the dark color of the specified color scheme. -
ULTRADARK
Core implementation of theColorSchemeSingleColorQuery
interface that returns the ultra dark color of the specified color scheme. -
FOREGROUND
Core implementation of theColorSchemeSingleColorQuery
interface that returns the foreground color of the specified color scheme.
-
-
Method Details
-
query
Returns a single color based on the specified color scheme.- Parameters:
scheme
- The color scheme.- Returns:
- The color based on the specified color scheme.
-
composite
static ColorSchemeSingleColorQuery composite(ColorSchemeSingleColorQuery base, ColorTransform... transforms)
-