private String getSreColor(int color) {
String s = "#";
int colorStr = (color & 0xff000000) | (color & 0x00ff0000) | (color & 0x0000ff00) | (color & 0x000000ff);
s = s + Integer.toHexString(colorStr);
return s;
}
int类型的颜色转换成编码类型
最新推荐文章于 2024-07-24 09:32:41 发布