GLColorpublic 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 boolean | equals(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;
|
|