public final class Color4f extends Object
Modifier and Type | Field and Description |
---|---|
static Color4f |
BLACK |
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 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.Copyright © 2020. All rights reserved.