I had a crazy idea of representing a 100×100 sized image with colored zeroes instead of their pixel.
But the JTextArea
allows only one color.
我该怎么办?
我不知道如何使用添加代码功能,因为我在这里使用android,所以这里是一个框架。
Font.setcolor(image.getcolor(x,y));
Jtextarea.addtext(some text with the colored font);
然后是另一个带有其他字体的文本,用于下一个像素。