摘要:
每个分量255,但是文档说 干脆直接计算分量占255百分比 //设置背景蓝透明(98, 208, 244, 0.1f) textArea.setBackground(new Color(0.384f, 0.815f, 0.956f, 0.1f)); 阅读全文
posted @ 2020-05-17 23:36
O咕噜O
阅读(155)
评论(0)
推荐(0)
摘要:
1 //文本颜色 2 Paint paint = new Color(44, 67, 85); 3 //文字样式 4 Font f = new Font("仿宋", Font.PLAIN, 18); 5 6 //将上面样式放入Map内 7 HashMap<TextAttribute, Object> 阅读全文
posted @ 2020-05-17 23:27
O咕噜O
阅读(81)
评论(0)
推荐(0)

浙公网安备 33010602011771号