org.novyon.noise
Class Color
java.lang.Object
org.novyon.noise.Color
public class Color
- extends Object
Helper class for working with colors and gradients
- Author:
- Anthyon
Constructor Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Color
public Color()
Color
public Color(int r,
int g,
int b)
Color
public Color(int r,
int g,
int b,
int a)
Color
public Color(float r,
float g,
float b)
Color
public Color(float r,
float g,
float b,
float a)
Color
public Color(int h,
float s,
float b)
Color
public Color(int h,
float s,
float b,
float a)
toInteger
public int toInteger()
toWeb
public String toWeb()
toGrayscale
public Color toGrayscale()
toSepia
public Color toSepia()
Copyright © 2011. All Rights Reserved.