|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectonbon.bx06.utils.ColorType565
public class ColorType565
全彩色碼轉換程式。
| 方法摘要 | |
|---|---|
static Color |
decode(int code)
將色碼轉換成顏色。 |
static int |
encode(Color color)
將顏色轉換成色碼。 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 方法详细信息 |
|---|
public static Color decode(int code)
code - 色碼。有效範圍 0x0000 - 0xffff。
public static int encode(Color color)
color - 顏色。
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||