Uses of Interface
toxi.color.ReadonlyTColor
-
Uses of ReadonlyTColor in toxi.color
Modifier and TypeClassDescriptionclass
Floating point color class with implicit RGB, HSV, CMYK access modes, conversion and color theory utils.Modifier and TypeFieldDescriptionstatic final ReadonlyTColor
NamedColor.ALICEBLUE
static final ReadonlyTColor
NamedColor.ANTIQUEWHITE
static final ReadonlyTColor
NamedColor.AQUA
static final ReadonlyTColor
NamedColor.AQUAMARINE
static final ReadonlyTColor
NamedColor.AZURE
static final ReadonlyTColor
NamedColor.BARK
static final ReadonlyTColor
NamedColor.BEIGE
static final ReadonlyTColor
NamedColor.BISQUE
static final ReadonlyTColor
NamedColor.BLACK
static final ReadonlyTColor
TColor.BLACK
static final ReadonlyTColor
NamedColor.BLANCHEDALMOND
static final ReadonlyTColor
NamedColor.BLUE
static final ReadonlyTColor
TColor.BLUE
static final ReadonlyTColor
NamedColor.BLUEVIOLET
static final ReadonlyTColor
NamedColor.BROWN
static final ReadonlyTColor
NamedColor.BURLYWOOD
static final ReadonlyTColor
NamedColor.CADETBLUE
static final ReadonlyTColor
NamedColor.CHARTREUSE
static final ReadonlyTColor
NamedColor.CHOCOLATE
static final ReadonlyTColor
NamedColor.CORAL
static final ReadonlyTColor
NamedColor.CORNFLOWERBLUE
static final ReadonlyTColor
NamedColor.CORNSILK
static final ReadonlyTColor
NamedColor.CRIMSON
static final ReadonlyTColor
NamedColor.CYAN
static final ReadonlyTColor
TColor.CYAN
static final ReadonlyTColor
NamedColor.DARKBLUE
static final ReadonlyTColor
NamedColor.DARKCYAN
static final ReadonlyTColor
NamedColor.DARKGOLDENROD
static final ReadonlyTColor
NamedColor.DARKGRAY
static final ReadonlyTColor
NamedColor.DARKGREEN
static final ReadonlyTColor
NamedColor.DARKKHAKI
static final ReadonlyTColor
NamedColor.DARKMAGENTA
static final ReadonlyTColor
NamedColor.DARKOLIVEGREEN
static final ReadonlyTColor
NamedColor.DARKORANGE
static final ReadonlyTColor
NamedColor.DARKORCHID
static final ReadonlyTColor
NamedColor.DARKRED
static final ReadonlyTColor
NamedColor.DARKSALMON
static final ReadonlyTColor
NamedColor.DARKSEAGREEN
static final ReadonlyTColor
NamedColor.DARKSLATEBLUE
static final ReadonlyTColor
NamedColor.DARKSLATEGRAY
static final ReadonlyTColor
NamedColor.DARKTURQUOISE
static final ReadonlyTColor
NamedColor.DARKVIOLET
static final ReadonlyTColor
NamedColor.DEEPPINK
static final ReadonlyTColor
NamedColor.DEEPSKYBLUE
static final ReadonlyTColor
NamedColor.DIMGRAY
static final ReadonlyTColor
NamedColor.DIMGREY
static final ReadonlyTColor
NamedColor.DODGERBLUE
static final ReadonlyTColor
NamedColor.FIREBRICK
static final ReadonlyTColor
NamedColor.FLORALWHITE
static final ReadonlyTColor
NamedColor.FORESTGREEN
static final ReadonlyTColor
NamedColor.FUCHSIA
static final ReadonlyTColor
NamedColor.GAINSBORO
static final ReadonlyTColor
NamedColor.GHOSTWHITE
static final ReadonlyTColor
NamedColor.GOLD
static final ReadonlyTColor
NamedColor.GOLDENROD
static final ReadonlyTColor
NamedColor.GRAY
static final ReadonlyTColor
NamedColor.GREEN
static final ReadonlyTColor
TColor.GREEN
static final ReadonlyTColor
NamedColor.GREENYELLOW
static final ReadonlyTColor
NamedColor.GREY
static final ReadonlyTColor
NamedColor.HONEYDEW
static final ReadonlyTColor
NamedColor.HOTPINK
static final ReadonlyTColor
NamedColor.INDIANRED
static final ReadonlyTColor
NamedColor.INDIGO
static final ReadonlyTColor
NamedColor.IVORY
static final ReadonlyTColor
NamedColor.KHAKI
static final ReadonlyTColor
NamedColor.LAVENDER
static final ReadonlyTColor
NamedColor.LAVENDERBLUSH
static final ReadonlyTColor
NamedColor.LAWNGREEN
static final ReadonlyTColor
NamedColor.LEMONCHIFFON
static final ReadonlyTColor
NamedColor.LIGHTBLUE
static final ReadonlyTColor
NamedColor.LIGHTCORAL
static final ReadonlyTColor
NamedColor.LIGHTCYAN
static final ReadonlyTColor
NamedColor.LIGHTGOLDENRODYELLOW
static final ReadonlyTColor
NamedColor.LIGHTGREEN
static final ReadonlyTColor
NamedColor.LIGHTGREY
static final ReadonlyTColor
NamedColor.LIGHTPINK
static final ReadonlyTColor
NamedColor.LIGHTSALMON
static final ReadonlyTColor
NamedColor.LIGHTSEAGREEN
static final ReadonlyTColor
NamedColor.LIGHTSKYBLUE
static final ReadonlyTColor
NamedColor.LIGHTSLATEGRAY
static final ReadonlyTColor
NamedColor.LIGHTSTEELBLUE
static final ReadonlyTColor
NamedColor.LIGHTYELLOW
static final ReadonlyTColor
NamedColor.LIME
static final ReadonlyTColor
NamedColor.LIMEGREEN
static final ReadonlyTColor
NamedColor.LINEN
static final ReadonlyTColor
TColor.MAGENTA
static final ReadonlyTColor
NamedColor.MAROON
static final ReadonlyTColor
NamedColor.MEDIUMAQUAMARINE
static final ReadonlyTColor
NamedColor.MEDIUMBLUE
static final ReadonlyTColor
NamedColor.MEDIUMORCHID
static final ReadonlyTColor
NamedColor.MEDIUMPURPLE
static final ReadonlyTColor
NamedColor.MEDIUMSEAGREEN
static final ReadonlyTColor
NamedColor.MEDIUMSLATEBLUE
static final ReadonlyTColor
NamedColor.MEDIUMSPRINGGREEN
static final ReadonlyTColor
NamedColor.MEDIUMTURQUOISE
static final ReadonlyTColor
NamedColor.MEDIUMVIOLETRED
static final ReadonlyTColor
NamedColor.MIDNIGHTBLUE
static final ReadonlyTColor
NamedColor.MINTCREAM
static final ReadonlyTColor
NamedColor.MISTYROSE
static final ReadonlyTColor
NamedColor.MOCCASIN
static final ReadonlyTColor
NamedColor.NAVAJOWHITE
static final ReadonlyTColor
NamedColor.NAVY
static final ReadonlyTColor
NamedColor.OLDLACE
static final ReadonlyTColor
NamedColor.OLIVE
static final ReadonlyTColor
NamedColor.OLIVEDRAB
static final ReadonlyTColor
NamedColor.ORANGE
static final ReadonlyTColor
NamedColor.ORANGERED
static final ReadonlyTColor
NamedColor.ORCHID
static final ReadonlyTColor
NamedColor.PALEGOLDENROD
static final ReadonlyTColor
NamedColor.PALEGREEN
static final ReadonlyTColor
NamedColor.PALETURQUOISE
static final ReadonlyTColor
NamedColor.PALEVIOLETRED
static final ReadonlyTColor
NamedColor.PAPAYAWHIP
static final ReadonlyTColor
NamedColor.PEACHPUFF
static final ReadonlyTColor
NamedColor.PERU
static final ReadonlyTColor
NamedColor.PINK
static final ReadonlyTColor
NamedColor.PLUM
static final ReadonlyTColor
NamedColor.POWDERBLUE
static final ReadonlyTColor
NamedColor.PURPLE
static final ReadonlyTColor
NamedColor.RED
static final ReadonlyTColor
TColor.RED
static final ReadonlyTColor
NamedColor.ROSYBROWN
static final ReadonlyTColor
NamedColor.ROYALBLUE
static final ReadonlyTColor
NamedColor.SADDLEBROWN
static final ReadonlyTColor
NamedColor.SALMON
static final ReadonlyTColor
NamedColor.SANDYBROWN
static final ReadonlyTColor
NamedColor.SEAGREEN
static final ReadonlyTColor
NamedColor.SEASHELL
static final ReadonlyTColor
NamedColor.SIENNA
static final ReadonlyTColor
NamedColor.SILVER
static final ReadonlyTColor
NamedColor.SKYBLUE
static final ReadonlyTColor
NamedColor.SLATEBLUE
static final ReadonlyTColor
NamedColor.SLATEGRAY
static final ReadonlyTColor
NamedColor.SNOW
static final ReadonlyTColor
NamedColor.SPRINGGREEN
static final ReadonlyTColor
NamedColor.STEELBLUE
static final ReadonlyTColor
NamedColor.TAN
static final ReadonlyTColor
NamedColor.TEAL
static final ReadonlyTColor
NamedColor.THISTLE
static final ReadonlyTColor
NamedColor.TOMATO
static final ReadonlyTColor
NamedColor.TRANSPARENT
static final ReadonlyTColor
NamedColor.TURQUOISE
static final ReadonlyTColor
NamedColor.VIOLET
static final ReadonlyTColor
NamedColor.WHEAT
static final ReadonlyTColor
NamedColor.WHITE
static final ReadonlyTColor
TColor.WHITE
static final ReadonlyTColor
NamedColor.WHITESMOKE
static final ReadonlyTColor
NamedColor.YELLOW
static final ReadonlyTColor
TColor.YELLOW
static final ReadonlyTColor
NamedColor.YELLOWGREEN
Modifier and TypeMethodDescriptionColorList.getAverage()
Calculates and returns the average color of the list.static final ReadonlyTColor
NamedColor.getForName
(String name) Returns a color for the given name.ColorList.getLightest()
Finds and returns the lightest (luminance) color of the list.final ReadonlyTColor
ToneMap.getToneFor
(float t) static ReadonlyTColor
Modifier and TypeMethodDescriptionColorList.add
(ReadonlyTColor c) Adds a copy of the given color to the listColorRange.add
(ReadonlyTColor c) Adds the HSV color components as constraints.void
ColorGradient.addColorAt
(float p, ReadonlyTColor c) Adds a new color at specified position.ColorTheme.addRange
(ColorRange range, ReadonlyTColor col, float weight) TColor.blend
(ReadonlyTColor c, float t) Blends the color with the given one by the stated amountint
AlphaAccessor.compare
(ReadonlyTColor a, ReadonlyTColor b) int
CMYKAccessor.compare
(ReadonlyTColor a, ReadonlyTColor b) int
HSVAccessor.compare
(ReadonlyTColor a, ReadonlyTColor b) int
LuminanceAccessor.compare
(ReadonlyTColor a, ReadonlyTColor b) int
ProximityComparator.compare
(ReadonlyTColor a, ReadonlyTColor b) int
RGBAccessor.compare
(ReadonlyTColor a, ReadonlyTColor b) boolean
ColorList.contains
(ReadonlyTColor color) Checks if the given color is part of the list.boolean
ColorRange.contains
(ReadonlyTColor c) Checks if all HSVA components of the given color are within the constraints defined for this 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).float
CMYKDistanceProxy.distanceBetween
(ReadonlyTColor a, ReadonlyTColor b) float
DistanceProxy.distanceBetween
(ReadonlyTColor a, ReadonlyTColor b) Computes the distance between 2 colors.float
HSVDistanceProxy.distanceBetween
(ReadonlyTColor a, ReadonlyTColor b) float
RGBDistanceProxy.distanceBetween
(ReadonlyTColor a, ReadonlyTColor b) float
ReadonlyTColor.distanceToCMYK
(ReadonlyTColor c) Calculates the CMYK distance to the given color.float
TColor.distanceToCMYK
(ReadonlyTColor c) float
ReadonlyTColor.distanceToHSV
(ReadonlyTColor c) Calculates the HSV distance to the given color.float
TColor.distanceToHSV
(ReadonlyTColor c) float
ReadonlyTColor.distanceToRGB
(ReadonlyTColor c) Calculates the RGB distance to the given color.float
TColor.distanceToRGB
(ReadonlyTColor c) ReadonlyTColor.getBlended
(ReadonlyTColor c, float t) TColor.getBlended
(ReadonlyTColor c, float t) ColorRange.getColor
(ReadonlyTColor c, float variance) Creates a new color based on the constraints defined in the range.ColorRange.getColors
(ReadonlyTColor c, int num, float variance) abstract float
AccessCriteria.getComponentValueFor
(ReadonlyTColor col) float
AlphaAccessor.getComponentValueFor
(ReadonlyTColor col) float
CMYKAccessor.getComponentValueFor
(ReadonlyTColor col) float
HSVAccessor.getComponentValueFor
(ReadonlyTColor col) float
LuminanceAccessor.getComponentValueFor
(ReadonlyTColor col) float
RGBAccessor.getComponentValueFor
(ReadonlyTColor col) ColorList.sortByProximityTo
(ReadonlyTColor target, boolean isReversed) Sorts the list by proximity to the given target color (using RGB distance metrics).ColorList.sortByProximityTo
(ReadonlyTColor target, DistanceProxy proxy, boolean isReversed) Sorts the list by proximity to the given target color using the givenDistanceProxy
implementation.Modifier and TypeMethodDescriptionColorList.sortByComparator
(Comparator<ReadonlyTColor> comp, boolean isReversed) Sorts the list using the given comparator.ModifierConstructorDescriptionColorList
(ReadonlyTColor... colorArray) Creates new ColorList from the given colors.Constructs a new range using the hue of the given color as hue constraint, but saturation and brightness are fully flexible.ProximityComparator
(ReadonlyTColor col, DistanceProxy proxy) Creates a deep copy of the given color.ToneMap
(float a, float b, ReadonlyTColor colA, ReadonlyTColor colB) ToneMap
(float min, float max, ReadonlyTColor colA, ReadonlyTColor colB, int res) -
Uses of ReadonlyTColor in toxi.color.theory
Modifier and TypeMethodDescriptionAnalogousStrategy.createListFromColor
(ReadonlyTColor src) ColorTheoryStrategy.createListFromColor
(ReadonlyTColor src) Creates a newColorList
of colors for the supplied source color based on the strategy.ComplementaryStrategy.createListFromColor
(ReadonlyTColor src) CompoundTheoryStrategy.createListFromColor
(ReadonlyTColor src) LeftSplitComplementaryStrategy.createListFromColor
(ReadonlyTColor src) MonochromeTheoryStrategy.createListFromColor
(ReadonlyTColor src) RightSplitComplementaryStrategy.createListFromColor
(ReadonlyTColor src) SingleComplementStrategy.createListFromColor
(ReadonlyTColor src) SplitComplementaryStrategy.createListFromColor
(ReadonlyTColor src) TetradTheoryStrategy.createListFromColor
(ReadonlyTColor src) TriadTheoryStrategy.createListFromColor
(ReadonlyTColor src) -
Uses of ReadonlyTColor in toxi.processing
Modifier and TypeMethodDescriptionDeltaOrientationMapper.getRGBForNormal
(Vec3D normal) NormalMapper.getRGBForNormal
(Vec3D normal) XYZNormalMapper.getRGBForNormal
(Vec3D normal) Modifier and TypeMethodDescriptionfinal void
ToxiclibsSupport.chooseStrokeFill
(boolean isWireframe, ReadonlyTColor stroke, ReadonlyTColor fill) final void
ToxiclibsSupport.fill
(ReadonlyTColor col) final void
ToxiclibsSupport.setStrokeFill
(boolean isWireframe, ReadonlyTColor col) final void
ToxiclibsSupport.stroke
(ReadonlyTColor col)