Description Usage Arguments Fields and Methods Author(s) References
Package: R.colors
Class CmykColor
Object
~~|
~~+--
Color
~~~~~~~|
~~~~~~~+--
FourDimensionalColor
~~~~~~~~~~~~|
~~~~~~~~~~~~+--
CmykColor
Directly known subclasses:
public static class CmykColor
extends FourDimensionalColor
Class representing colors in the (cyan,magenta,yellow,black) space.
Internally all colors are represented as (cyan,magenta,yellow,black) in [0,1]x[0,1]x[0,1]x[0,1].
1 |
cyan |
A |
magenta |
A |
yellow |
A |
black |
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:
asRgbColor | - | |
getColors | - | |
maximizeBlack | Maximizes the black channel to 'save' the other colors. | |
plotParallel | - | |
setChannel | Sets the color values in the specific channel. | |
Methods inherited from FourDimensionalColor:
getColorSpace
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/)
[1] Borland Developer Support Staff, Converting a RGB color to a CMYK color, http://community.borland.com/article/0,1410,17948,00.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.