0
我正在开发一个允许用户为图像着色的应用程序。我有我想要应用的颜色的颜色矩阵,但问题是不改变x的颜色y坐标整个图像变得有颜色。我不知道如何将colormatix应用于图像的指定坐标。如何更改图像的colormatrix x,y坐标?
我使用
matrix =
new float[] { 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, };
imageview.setColorFilter(new ColorMatrixColorFilter(matrix));
我在寻找类似imageview.SetPixelColorMatrix(x,y,matrix)
谁能帮助我?