public final class Color4f
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private float |
a |
private float |
b |
static Color4f |
BLACK |
private float |
g |
private float |
r |
static Color4f |
WHITE |
Constructor and Description |
---|
Color4f(float r,
float g,
float b,
float a) |
Modifier and Type | Method and Description |
---|---|
float |
getAlpha() |
float |
getBlue() |
float |
getGreen() |
float[] |
getPremultipliedRGBComponents()
Calculates and return the premultiplied color components of a
this
Color4f object in an array of 4 float s. |
float |
getRed() |
public static final Color4f BLACK
public static final Color4f WHITE
private final float r
private final float g
private final float b
private final float a
public float getRed()
public float getGreen()
public float getBlue()
public float getAlpha()
public float[] getPremultipliedRGBComponents()
Color4f
object in an array of 4 float
s.float
s containing the premultiplied
color components of the color.