public class GlimpseColor extends Object
Constructor and Description |
---|
GlimpseColor() |
Modifier and Type | Method and Description |
---|---|
static float[] |
add(float[] color1,
float[] color2) |
static float[] |
addRgb(float[] color,
float value) |
static float[] |
fromColorAwt(Color color) |
static float[] |
fromColorHex(String color) |
static float[] |
fromColorHsb(float hue,
float saturation,
float brightness) |
static float[] |
fromColorRgb(float r,
float g,
float b) |
static float[] |
fromColorRgb(int r,
int g,
int b) |
static float[] |
fromColorRgba(float r,
float g,
float b,
float a) |
static float[] |
fromColorRgba(int r,
int g,
int b,
int a) |
static float[] |
getBlack() |
static float[] |
getBlack(float alpha) |
static float[] |
getBlue() |
static float[] |
getBlue(float alpha) |
static float[] |
getCyan() |
static float[] |
getCyan(float alpha) |
static float[] |
getGray() |
static float[] |
getGray(float alpha) |
static float[] |
getGreen() |
static float[] |
getGreen(float alpha) |
static float[] |
getMagenta() |
static float[] |
getMagenta(float alpha) |
static float[] |
getRed() |
static float[] |
getRed(float alpha) |
static String |
getString(float[] color) |
static float[] |
getWhite() |
static float[] |
getWhite(float alpha) |
static float[] |
getYellow() |
static float[] |
getYellow(float alpha) |
static void |
glClearColor(javax.media.opengl.GL gl,
float[] color) |
static void |
glColor(javax.media.opengl.GL2 gl,
float[] color) |
static void |
glColor(javax.media.opengl.GL2 gl,
float[] color,
float alphaOverride) |
static void |
setColor(com.jogamp.opengl.util.awt.TextRenderer renderer,
float[] color) |
static Color |
toColorAwt(float[] color) |
static String |
toColorHex(float[] color) |
public static float[] fromColorRgb(float r, float g, float b)
public static float[] fromColorRgba(float r, float g, float b, float a)
public static float[] fromColorRgb(int r, int g, int b)
public static float[] fromColorRgba(int r, int g, int b, int a)
public static float[] fromColorHsb(float hue, float saturation, float brightness)
public static float[] fromColorAwt(Color color)
public static float[] fromColorHex(String color) throws ParseException
ParseException
public static Color toColorAwt(float[] color)
public static String toColorHex(float[] color)
public static void glClearColor(javax.media.opengl.GL gl, float[] color)
public static void setColor(com.jogamp.opengl.util.awt.TextRenderer renderer, float[] color)
public static void glColor(javax.media.opengl.GL2 gl, float[] color)
public static void glColor(javax.media.opengl.GL2 gl, float[] color, float alphaOverride)
public static String getString(float[] color)
public static float[] addRgb(float[] color, float value)
public static float[] add(float[] color1, float[] color2)
public static float[] getRed()
public static float[] getRed(float alpha)
public static float[] getGreen()
public static float[] getGreen(float alpha)
public static float[] getYellow()
public static float[] getYellow(float alpha)
public static float[] getCyan()
public static float[] getCyan(float alpha)
public static float[] getMagenta()
public static float[] getMagenta(float alpha)
public static float[] getBlue()
public static float[] getBlue(float alpha)
public static float[] getWhite()
public static float[] getWhite(float alpha)
public static float[] getBlack()
public static float[] getBlack(float alpha)
public static float[] getGray()
public static float[] getGray(float alpha)
Copyright © 2016 Metron, Inc.. All rights reserved.