HsvgColor: Class representing colors in the (hue,saturation,value,gamma)...

Description Usage Arguments Fields and Methods Author(s) See Also

Description

Package: R.colors
Class HsvgColor

Object
~~|
~~+--Color
~~~~~~~|
~~~~~~~+--FourDimensionalColor
~~~~~~~~~~~~|
~~~~~~~~~~~~+--HsvgColor

Directly known subclasses:

public static class HsvgColor
extends FourDimensionalColor

Class representing colors in the (hue,saturation,value,gamma) space.

Internally all colors are represented as (hue,saturation,value,gamma) in [0,1]x[0,1]x[0,1]x[0,1].

Usage

1
HsvgColor(hue=NULL, saturation=1, value=1, gamma=1, maxColorValue=1)

Arguments

hue

A vector of numeric in the range [0,maxColorValue].

saturation

A vector of numeric in the range [0,maxColorValue].

value

A vector of numeric in the range [0,maxColorValue].

gamma

A vector of numeric in the range [0,maxColorValue].

maxColorValue

A numeric value specifying the maximum value the values in the different channels can take.

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.

Fields and Methods

Methods:

getColors -
plotParallel -

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

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

hsv.


HenrikBengtsson/R.colors documentation built on May 6, 2019, 11:53 p.m.