Description Usage Arguments Fields and Methods Author(s) See Also
Package: R.colors
Class RgbColor
Object
~~|
~~+--
Color
~~~~~~~|
~~~~~~~+--
ThreeDimensionalColor
~~~~~~~~~~~~|
~~~~~~~~~~~~+--
RgbColor
Directly known subclasses:
public static class RgbColor
extends ThreeDimensionalColor
Class representing colors in the (red,green,blue) space.
Internally all colors are represented as (red,green,blue) in [0,1]x[0,1]x[0,1].
1 |
red |
A |
green |
A |
blue |
A |
maxColorValue |
A |
Moreover, the number of colors will be the same as the length of the
longest vector
of the above. If some of the other vectors are shorter,
their values will be looped over to get equal lengths.
Methods:
getColors | - | |
plotParallel | - | |
setBlue | Sets the color values in the blue channel. | |
setChannel | Sets the color values in the specific channel. | |
setGreen | Sets the color values in the green channel. | |
setRed | Sets the color values in the red channel. | |
Methods inherited from ThreeDimensionalColor:
getColorSpace, plot3d
Methods inherited from Color:
[, as.character, display, drawColorRamp, getColorFilter, getColors, getColorSpace, length, palette, plotParallel, seq, setColorFilter, viewThroughColorFilter
Methods inherited from Object:
$, $<-, [[, [[<-, as.character, attach, attachLocally, clearCache, clone, detach, equals, extend, finalize, gc, getEnvironment, getFields, getInstantiationTime, getStaticInstance, hasField, hashCode, ll, load, objectSize, print, registerFinalizer, save
Henrik Bengtsson (http://www.braju.com/R/)
rgb
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.