廢話不多說(shuō)了,直接給大家貼代碼了。 1 2 3 4 5 6 7 8 //改變圖片的亮度方法 0--原樣 >0---調(diào)亮 <0---調(diào)暗 privatevoidchangeLight(ImageView imageView,intbrightness) { ColorMatrix cMatrix =newColorMatrix(); cMatrix.set(newfloat[] {1,0,0,0, brightness,0,1,0,0, ...
www.dbjr.com.cn/article/781...htm 2025-5-28