unlekker.util
Class ColorSet
java.lang.Object
unlekker.util.ColorUtil
unlekker.util.ColorSet
public class ColorSet
- extends ColorUtil
Field Summary |
int |
bg
|
int[] |
c
|
static float[] |
hsb
|
java.lang.String |
name
|
int |
num
|
Method Summary |
void |
add(int n,
int col1,
int col2)
|
void |
add(int min,
int max,
int col1,
int col2)
|
void |
add(int min,
int max,
int col1,
int col2,
int chance)
|
int[] |
getPalette(ColorPalette pal)
|
java.lang.String |
toString()
|
Methods inherited from class unlekker.util.ColorUtil |
color, color, color, color, color, colorAdjust, colorBlended, colorBlended, colorBlended, colorMult, colorToHex, colorToHex, colorToString, getAlpha, getBrightness, getSaturation, isWhite, setAlpha |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
num
public int num
c
public int[] c
bg
public int bg
name
public java.lang.String name
hsb
public static float[] hsb
ColorSet
public ColorSet()
add
public void add(int n,
int col1,
int col2)
add
public void add(int min,
int max,
int col1,
int col2)
add
public void add(int min,
int max,
int col1,
int col2,
int chance)
getPalette
public int[] getPalette(ColorPalette pal)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object