|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmoka.lang.Object
moka.io.Gray
Gray class encapsulates grayscale levels.
Field Summary | |
static short |
BLACK
Draw in black. |
static short |
DARK_GRAY
Draw in dark gray. |
static short |
DARK_PLANE
The dark grayscale plane. |
static short |
LIGHT_GRAY
Draw in light gray. |
static short |
LIGHT_PLANE
The light grayscale plane. |
static short |
OFF
Draw in black. |
Method Summary | |
static boolean |
checkRunning()
Checks whether grayscale mode is active. |
static void |
off()
Deactivates grayscale mode. |
static boolean |
on()
Activates grayscale mode with four shades of gray. |
static void |
setAMSPlane(short plane)
Forces graphics routines to use selected plane. |
Methods inherited from class moka.lang.Object |
equals, finalize, getClassName, toString |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final short OFF
public static final short BLACK
public static final short LIGHT_GRAY
public static final short DARK_GRAY
public static final short LIGHT_PLANE
public static final short DARK_PLANE
Method Detail |
public static void setAMSPlane(short plane)
plane
- The grayscale planepublic static void off()
public static boolean on()
public static boolean checkRunning()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |