|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthep.graphics.heprep1.HepRepColor
Static class to allow for color manipulation
Field Summary | |
static String |
cvsId
|
Constructor Summary | |
HepRepColor()
|
Method Summary | |
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
Constructor Detail |
public HepRepColor()
Method Detail |
public static final Color get(String name)
by name: "yellow" by int r,g,b: "128, 255, 64" by float r,g,b: "0.5, 1.0, 0.25" by single number: "64637" or "0x0FFF08"
name
- name/number of the color
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |