|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectonbon.bx06.utils.ColorType565
public class ColorType565
全彩色碼轉換程式。
Method Summary | |
---|---|
static Color |
decode(int code)
將色碼轉換成顏色。 |
static int |
encode(Color color)
將顏色轉換成色碼。 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Color decode(int code)
code
- 色碼。有效範圍 0x0000 - 0xffff。
public static int encode(Color color)
color
- 顏色。
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |