public class Color extends Object
Constructor and Description |
---|
Color(int red,
int green,
int blue)
Ctor (using an alpha of 255).
|
Color(int red,
int green,
int blue,
int alpha)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getAlpha() |
int |
getBlue() |
int |
getGreen() |
int |
getRed() |
int |
hashCode() |
public Color(int red, int green, int blue)
red
- the red partgreen
- the green partblue
- the blue partpublic Color(int red, int green, int blue, int alpha)
red
- the red partgreen
- the green partblue
- the blue partalpha
- the alpha partCopyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.