|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.visioglobe.libVisioDevKit.VgColor
public class VgColor
This struct represents a color. It is defined using four values: The first three values represent red, green and blue (respectively) following the additive color model and the last value is for alpha (transparency). Those values can be set in the [0.0, 1.0] range. A value of 1.0 for alpha means that the color is completely opaque, while a value of 0.0 means the color is completely transparent.
Field Summary | |
---|---|
protected boolean |
swigCMemOwn
|
Constructor Summary | |
---|---|
VgColor()
|
|
VgColor(float pRed)
|
|
VgColor(float pRed,
float pGreen)
|
|
VgColor(float pRed,
float pGreen,
float pBlue)
|
|
VgColor(float pRed,
float pGreen,
float pBlue,
float pAlpha)
|
|
VgColor(long cPtr,
boolean cMemoryOwn)
|
|
VgColor(VgColor pColor)
|
Method Summary | |
---|---|
void |
delete()
|
protected void |
finalize()
|
static long |
getCPtr(VgColor obj)
|
float |
getMAlpha()
The alpha component of the color. |
float |
getMBlue()
The blue component of the color. |
float |
getMGreen()
The green component of the color. |
float |
getMRed()
The red component of the color. |
void |
setMAlpha(float value)
The alpha component of the color. |
void |
setMBlue(float value)
The blue component of the color. |
void |
setMGreen(float value)
The green component of the color. |
void |
setMRed(float value)
The red component of the color. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean swigCMemOwn
Constructor Detail |
---|
public VgColor(long cPtr, boolean cMemoryOwn)
public VgColor(float pRed, float pGreen, float pBlue, float pAlpha)
public VgColor(float pRed, float pGreen, float pBlue)
public VgColor(float pRed, float pGreen)
public VgColor(float pRed)
public VgColor()
public VgColor(VgColor pColor)
Method Detail |
---|
public static long getCPtr(VgColor obj)
protected void finalize()
finalize
in class java.lang.Object
public void delete()
public void setMRed(float value)
public float getMRed()
public void setMGreen(float value)
public float getMGreen()
public void setMBlue(float value)
public float getMBlue()
public void setMAlpha(float value)
public float getMAlpha()
|
VisioDevKit 2.0, Visioglobe® 2013 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |