【文件属性】:
文件名称:jsp把文字改为图片
文件大小:1KB
文件格式:RAR
更新时间:2012-01-17 06:57:35
文字到图片
Color getRandColor(int fc,int bc){//给定范围获得随机颜色
Random random = new Random();
if(fc>255) fc=255;
if(bc>255) bc=255;
int r=fc+random.nextInt(bc-fc);
int g=fc+random.nextInt(bc-fc);
int b=fc+random.nextInt(bc-fc);
return new Color(r,g,b);
}
【文件预览】:
把文字改为图片.txt
网友评论
- 太不值得了,分数太高,资料一般