FileDocCategorySizeDatePackage
GLColor.javaAPI DocAndroid 1.5 API1313Wed May 06 22:41:08 BST 2009com.example.android.apis.graphics.kube

GLColor

public class GLColor extends Object

Fields Summary
public final int
red
public final int
green
public final int
blue
public final int
alpha
Constructors Summary
public GLColor(int red, int green, int blue, int alpha)

		this.red = red;
		this.green = green;
		this.blue = blue;
		this.alpha = alpha;
	
public GLColor(int red, int green, int blue)

		this.red = red;
		this.green = green;
		this.blue = blue;
		this.alpha = 0x10000;
	
Methods Summary
public booleanequals(java.lang.Object other)

		if (other instanceof GLColor) {
			GLColor color = (GLColor)other;
			return (red == color.red && green == color.green &&
					blue == color.blue && alpha == color.alpha);
		}
		return false;