hsv2int static method

int hsv2int(
  1. int h,
  2. double s,
  3. double v
)

Converts HSV values to an integer.

Implementation

static int hsv2int(int h, double s, double v) {
  final List<int> rgb = hsv2rgb(h, s, v);
  return rgb2int(rgb[0], rgb[1], rgb[2]);
}