Uses of Class
toxi.color.ColorRange
-
Uses of ColorRange in toxi.color
Modifier and TypeFieldDescriptionstatic final ColorRange
ColorRange.BRIGHT
Shade definition: saturation 80-100%, brightness: 80-100%static final ColorRange
ColorRange.COOL
Shade definition: saturation 5-20%, brightness: 90-100%static final ColorRange
ColorRange.DARK
Shade definition: saturation 70-100%, brightness: 15-40%static final ColorRange
ColorRange.FRESH
Shade definition: saturation 40-80%, brightness: 80-100%static final ColorRange
ColorRange.HARD
Shade definition: saturation 90-100%, brightness: 40-100%static final ColorRange
ColorRange.INTENSE
Shade definition: saturation 90-100%, brightness: 20-35% or 80-100%static final ColorRange
ColorRange.LIGHT
Shade definition: saturation 30-70%, brightness: 90-100%static final ColorRange
ColorRange.NEUTRAL
Shade definition: saturation 25-35%, brightness: 30-70%static final ColorRange
ColorRange.SOFT
Shade definition: saturation 20-30%, brightness: 60-90%static final ColorRange
ColorRange.WARM
Shade definition: saturation 60-90%, brightness: 40-90%static final ColorRange
ColorRange.WEAK
Shade definition: saturation 15-30%, brightness: 70-100%Modifier and TypeFieldDescriptionstatic final HashMap<String,
ColorRange> ColorRange.PRESETS
List of ColorRange presets.Modifier and TypeMethodDescriptionColorRange.add
(ColorRange range) Adds the contraints of the given range to this range and forms unions for the black and white point ranges.ColorRange.add
(ReadonlyTColor c) Adds the HSV color components as constraints.ColorRange.addAlphaRange
(float min, float max) Adds the range between min-max as possible alpha values for this range.ColorRange.addAlphaRange
(FloatRange alpha) Adds an additional alpha constraint.ColorRange.addBrightnessRange
(float min, float max) Adds the range between min-max as possible brightness values for this range.ColorRange.addBrightnessRange
(FloatRange bri) Adds an additional brightness constraint.Add the given hue as hue constraint.ColorRange.addHueRange
(float min, float max) Adds the range between min-max as possible hue values for this range.ColorRange.addHueRange
(FloatRange hue) Adds an additional hue constraint.ColorRange.addSaturationRange
(float min, float max) Adds the range between min-max as possible saturation values for this range.ColorRange.addSaturationRange
(FloatRange sat) Adds an additional saturation constraint.ColorRange.copy()
Creates a shallow copy of the range.ColorRange.copy
(ReadonlyTColor c, float variance) Creates a copy of the range but overrides the hue and alpha constraints taken from the given color (if specified).static ColorRange
ColorRange.getPresetForName
(String name) Retrieves one of the predefined ranges by name.ColorRange.getSum
(ColorRange range) Creates a copy of the current range and adds the given one to it.Modifier and TypeMethodDescriptionColorRange.add
(ColorRange range) Adds the contraints of the given range to this range and forms unions for the black and white point ranges.ColorTheme.addRange
(ColorRange range, ReadonlyTColor col, float weight) ColorRange.getSum
(ColorRange range) Creates a copy of the current range and adds the given one to it.