public class TSRColor4
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
swigCMemOwn |
Modifier | Constructor and Description |
---|---|
|
TSRColor4() |
|
TSRColor4(float inR,
float inG,
float inB,
float inA) |
|
TSRColor4(long color) |
protected |
TSRColor4(long cPtr,
boolean cMemoryOwn) |
|
TSRColor4(TSRColor3 in) |
|
TSRColor4(TSRColor3 in,
float alpha) |
Modifier and Type | Method and Description |
---|---|
void |
assign(float inR,
float inG,
float inB,
float inA) |
void |
assignRGB(int inR,
int inG,
int inB,
int inA) |
TSRColor4 |
decrementBy(TSRColor4 _in) |
void |
delete() |
TSRColor4 |
divideBy(float _fFactor) |
TSRColor4 |
divideBy(TSRColor4 _in) |
protected void |
finalize() |
float |
getA() |
float |
getB() |
static TSRColor4 |
getBlack() |
static TSRColor4 |
getBlue() |
float[] |
getC() |
protected static long |
getCPtr(TSRColor4 obj) |
static TSRColor4 |
getCyan() |
float |
getG() |
static TSRColor4 |
getGray() |
static TSRColor4 |
getGreen() |
static TSRColor4 |
getMagenta() |
float |
getR() |
static TSRColor4 |
getRed() |
static TSRColor4 |
getWhite() |
static TSRColor4 |
getYellow() |
TSRColor4 |
incrementBy(TSRColor4 _in) |
long |
makeRGBAWord() |
long |
makeWord() |
long |
makeWordSafe() |
void |
modulate(TSRColor4 _colorA,
TSRColor4 _colorB) |
TSRColor4 |
multiplyBy(float _fFactor) |
TSRColor4 |
multiplyBy(TSRColor4 _in) |
void |
saturate() |
void |
setA(float value) |
void |
setB(float value) |
void |
setC(float[] value) |
void |
setG(float value) |
void |
setR(float value) |
protected TSRColor4(long cPtr, boolean cMemoryOwn)
public TSRColor4()
public TSRColor4(float inR, float inG, float inB, float inA)
public TSRColor4(TSRColor3 in, float alpha)
public TSRColor4(TSRColor3 in)
public TSRColor4(long color)
protected static long getCPtr(TSRColor4 obj)
protected void finalize()
finalize
in class java.lang.Object
public void delete()
public void setR(float value)
public float getR()
public void setG(float value)
public float getG()
public void setB(float value)
public float getB()
public void setA(float value)
public float getA()
public void setC(float[] value)
public float[] getC()
public void assign(float inR, float inG, float inB, float inA)
public void assignRGB(int inR, int inG, int inB, int inA)
public long makeWord()
public long makeRGBAWord()
public long makeWordSafe()
public void saturate()
public TSRColor4 multiplyBy(float _fFactor)
public TSRColor4 divideBy(float _fFactor)
public static TSRColor4 getBlack()
public static TSRColor4 getGray()
public static TSRColor4 getWhite()
public static TSRColor4 getRed()
public static TSRColor4 getGreen()
public static TSRColor4 getBlue()
public static TSRColor4 getMagenta()
public static TSRColor4 getCyan()
public static TSRColor4 getYellow()