|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TColor | |
---|---|
toxi.color |
Uses of TColor in toxi.color |
---|
Methods in toxi.color that return TColor | |
---|---|
TColor |
TColor.add(TColor c)
|
TColor |
TColor.addSelf(TColor c)
|
TColor |
TColor.analog(float theta,
float delta)
Rotates this color by a random amount (not exceeding the one specified) and creates variations in saturation and brightness based on the 2nd parameter. |
TColor |
TColor.analog(int angle,
float delta)
|
TColor |
TColor.blend(ReadonlyTColor c,
float t)
Blends the color with the given one by the stated amount |
TColor |
TColor.complement()
|
TColor |
TColor.copy()
|
TColor |
ReadonlyTColor.copy()
|
TColor |
TColor.darken(float step)
Reduces the color's brightness by the given amount (e.g 0.1 = 10% darker). |
TColor |
TColor.desaturate(float step)
Reduced the color's saturation by the given amount. |
TColor |
TColor.differenceTo(TColor c)
|
TColor |
ColorList.get(int i)
Returns the color at the given index. |
TColor |
TColor.getAnalog(float theta,
float delta)
|
TColor |
ReadonlyTColor.getAnalog(float theta,
float delta)
|
TColor |
TColor.getAnalog(int angle,
float delta)
|
TColor |
ReadonlyTColor.getAnalog(int angle,
float delta)
|
TColor |
TColor.getBlended(ReadonlyTColor c,
float t)
|
TColor |
ReadonlyTColor.getBlended(ReadonlyTColor c,
float t)
|
TColor |
HistEntry.getColor()
|
TColor |
ColorTheme.getColor()
|
TColor |
ColorRange.getColor()
Creates a new color based on the flexible constraints of the range. |
TColor |
ColorRange.getColor(Hue hue)
Creates a new shade of the given hue based on the other constraints of the range. |
TColor |
ColorRange.getColor(ReadonlyTColor c,
float variance)
Creates a new color based on the constraints defined in the range. |
TColor |
TColor.getComplement()
|
TColor |
ReadonlyTColor.getComplement()
|
TColor |
TColor.getDarkened(float step)
|
TColor |
ReadonlyTColor.getDarkened(float step)
|
TColor |
ColorList.getDarkest()
Finds and returns the darkest color of the list. |
TColor |
TColor.getDesaturated(float step)
|
TColor |
ReadonlyTColor.getDesaturated(float step)
|
TColor |
TColor.getDifferenceTo(TColor c)
|
TColor |
ColorRange.getGrayscale(float brightness,
float variance)
Creates a new shade of gray based on the input brightness and the black and white constraints of the range. |
TColor |
TColor.getInverted()
|
TColor |
ReadonlyTColor.getInverted()
|
TColor |
TColor.getLightened(float step)
|
TColor |
ReadonlyTColor.getLightened(float step)
|
TColor |
ColorList.getRandom()
|
TColor |
TColor.getRotatedRYB(float theta)
|
TColor |
ReadonlyTColor.getRotatedRYB(float theta)
|
TColor |
TColor.getRotatedRYB(int angle)
|
TColor |
ReadonlyTColor.getRotatedRYB(int angle)
|
TColor |
TColor.getSaturated(float step)
|
TColor |
ReadonlyTColor.getSaturated(float step)
|
TColor |
TColor.invert()
Inverts the color. |
TColor |
TColor.lighten(float step)
Lightens the color by stated amount. |
static TColor |
TColor.newARGB(int argb)
Factory method. |
static TColor |
TColor.newCMYK(float c,
float m,
float y,
float k)
Factory method. |
static TColor |
TColor.newCMYKA(float c,
float m,
float y,
float k,
float a)
Factory method. |
static TColor |
TColor.newGray(float gray)
Factory method. |
static TColor |
TColor.newGrayAlpha(float gray,
float alpha)
|
static TColor |
TColor.newHex(java.lang.String hexRGB)
Factory method. |
static TColor |
TColor.newHSV(float h,
float s,
float v)
Factory method. |
static TColor |
TColor.newHSVA(float h,
float s,
float v,
float a)
|
static TColor |
TColor.newRandom()
Factory method. |
static TColor |
TColor.newRGB(float r,
float g,
float b)
Factory method. |
static TColor |
TColor.newRGBA(float r,
float g,
float b,
float a)
|
TColor |
TColor.rotateRYB(float theta)
|
TColor |
TColor.rotateRYB(int theta)
Rotates the color by x degrees along the RYB color wheel |
TColor |
TColor.saturate(float step)
Adds the given value to the current saturation component. |
TColor |
TColor.setAlpha(float alpha)
|
TColor |
TColor.setARGB(int argb)
Sets all color components to new values interpreted from the given packed ARGB 32bit color value. |
TColor |
TColor.setBlack(float val)
|
TColor |
TColor.setBlue(float blue)
|
TColor |
TColor.setBrightness(float brightness)
|
TColor |
TColor.setCMYK(float[] newCMYK)
|
TColor |
TColor.setCMYK(float c,
float m,
float y,
float k)
|
TColor |
TColor.setComponent(AccessCriteria criteria,
float val)
Sets a color component by name. |
TColor |
TColor.setCyan(float val)
|
TColor |
TColor.setGreen(float green)
|
TColor |
TColor.setHSV(float[] newHSV)
|
TColor |
TColor.setHSV(float h,
float s,
float v)
|
TColor |
TColor.setMagenta(float val)
|
TColor |
TColor.setRed(float red)
|
TColor |
TColor.setRGB(float[] newRGB)
|
TColor |
TColor.setRGB(float r,
float g,
float b)
|
TColor |
TColor.setSaturation(float saturation)
|
TColor |
TColor.setYellow(float val)
|
TColor |
TColor.sub(TColor c)
|
TColor |
TColor.subSelf(TColor c)
|
TColor |
TColorAdapter.unmarshal(java.lang.String hex)
|
Methods in toxi.color that return types with arguments of type TColor | |
---|---|
java.util.Iterator<TColor> |
ColorList.iterator()
Returns an iterator over the internal list. |
Methods in toxi.color with parameters of type TColor | |
---|---|
TColor |
TColor.add(TColor c)
|
TColor |
TColor.addSelf(TColor c)
|
static ColorList |
ColorList.createUsingStrategy(ColorTheoryStrategy strategy,
TColor c)
Factory method. |
static ColorList |
ColorList.createUsingStrategy(java.lang.String name,
TColor c)
Factory method. |
TColor |
TColor.differenceTo(TColor c)
|
TColor |
TColor.getDifferenceTo(TColor c)
|
java.lang.String |
TColorAdapter.marshal(TColor col)
|
void |
RGBAccessor.setComponentValueFor(TColor col,
float val)
|
void |
LuminanceAccessor.setComponentValueFor(TColor col,
float value)
The setter for this accessor is not doing anything, since the luminance of a color is a coputed value depending on 3 color channels. |
void |
HSVAccessor.setComponentValueFor(TColor col,
float val)
|
void |
CMYKAccessor.setComponentValueFor(TColor col,
float val)
|
void |
AlphaAccessor.setComponentValueFor(TColor col,
float value)
|
abstract void |
AccessCriteria.setComponentValueFor(TColor col,
float value)
|
TColor |
TColor.sub(TColor c)
|
TColor |
TColor.subSelf(TColor c)
|
Method parameters in toxi.color with type arguments of type TColor | |
---|---|
ColorList |
ColorList.addAll(java.util.Collection<TColor> collection)
Adds all entries of the TColor collection to the list (shallow copy only, manipulating the new list will modify the original colors). |
Constructor parameters in toxi.color with type arguments of type TColor | |
---|---|
ColorList(java.util.Collection<TColor> colors)
Creates a ColorList by wrapping the given ArrayList of colors. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |