Class HSV

java.lang.Object
  extended by HSV

public class HSV
extends Object

An instance is an HSV value.


Field Summary
 double h
          h, s, and v are the components of an HSV value
 double s
           
 double v
           
 
Constructor Summary
HSV(double h, double s, double v)
          Constructor: the tuple (h, s, v) Precondition: 0 ² h < 360, 0 ² s ² 1, 0 ² v ² 1.
 
Method Summary
 String toString()
          = a representation of this HSV value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

h

public double h
h, s, and v are the components of an HSV value


s

public double s

v

public double v
Constructor Detail

HSV

public HSV(double h,
           double s,
           double v)
Constructor: the tuple (h, s, v) Precondition: 0 ² h < 360, 0 ² s ² 1, 0 ² v ² 1.

Method Detail

toString

public String toString()
= a representation of this HSV value. Each of H, S, and V is truncated to 5 characters.

Overrides:
toString in class Object