public class Color
extends java.lang.Object
Constructor and Description |
---|
Color() |
Color(float r,
float g,
float b) |
Color(float r,
float g,
float b,
float a) |
Color(int h,
float s,
float b) |
Color(int h,
float s,
float b,
float a) |
Color(int r,
int g,
int b) |
Color(int r,
int g,
int b,
int a) |
Modifier and Type | Method and Description |
---|---|
Color |
toGrayscale() |
int |
toInteger() |
Color |
toSepia() |
java.lang.String |
toWeb() |
public Color()
public Color(int r, int g, int b)
public Color(int r, int g, int b, int a)
public Color(float r, float g, float b)
public Color(float r, float g, float b, float a)
public Color(int h, float s, float b)
public Color(int h, float s, float b, float a)