public class Color extends 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() |
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)
Copyright © 2015. All rights reserved.