001 /* 002 * RGBIndex 003 * 004 * Copyright (c) 2000, 2001, 2002, 2003 Marco Schmidt. 005 * All rights reserved. 006 */ 007 008 package net.sourceforge.jiu.data; 009 010 /** 011 * This interface provides three <code>int</code> constants as index 012 * values for the three channels of an RGB image: red, green and blue. 013 * The three values are guaranteed to lie in the interval 0 to 2. 014 * Furthermore, all three values are different from each other, so 015 * that the complete interval from 0 to 2 is used. 016 * @author Marco Schmidt 017 */ 018 public interface RGBIndex 019 { 020 /** 021 * The index value for the red channel. 022 */ 023 int INDEX_RED = 0; 024 025 /** 026 * The index value for the green channel. 027 */ 028 int INDEX_GREEN = 1; 029 030 /** 031 * The index value for the blue channel. 032 */ 033 int INDEX_BLUE = 2; 034 }