File: RGBIndex.java

package info (click to toggle)
java-imaging-utilities 0.14.2%2B3-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,280 kB
  • ctags: 3,725
  • sloc: java: 31,190; sh: 238; makefile: 53; xml: 30
file content (34 lines) | stat: -rw-r--r-- 780 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 * RGBIndex
 * 
 * Copyright (c) 2000, 2001, 2002, 2003 Marco Schmidt.
 * All rights reserved.
 */

package net.sourceforge.jiu.data;

/**
 * This interface provides three <code>int</code> constants as index
 * values for the three channels of an RGB image: red, green and blue.
 * The three values are guaranteed to lie in the interval 0 to 2.
 * Furthermore, all three values are different from each other, so
 * that the complete interval from 0 to 2 is used.
 * @author Marco Schmidt
 */
public interface RGBIndex
{
	/**
	 * The index value for the red channel.
	 */
	int INDEX_RED = 0;

	/**
	 * The index value for the green channel.
	 */
	int INDEX_GREEN = 1;

	/**
	 * The index value for the blue channel.
	 */
	int INDEX_BLUE = 2;
}