|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthep.graphics.heprep.util.HepRepColor
Static class to allow for color manipulation
Field Summary | |
static String |
cvsId
|
static Color |
invisible
This color is used to tag items which should not be drawn. |
Method Summary | |
static String |
get(Color color)
|
static Color |
get(String name)
this method returns a Color. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String cvsId
public static final Color invisible
Method Detail |
public static final Color get(String name)
by name: "yellow" , where alpha is always 1.0 by int r,g,b,a: "128, 255, 64, 255" , where alpha (a) is optional by float r,g,b,a: "0.5, 1.0, 0.25, 1.0" , where alpha (a) is optional by single number: "64637" or "0x0FFF08" , where alpha is always 1.0
name
- name/number of the color
public static String get(Color color)
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |