例如:
BufferedImage image = ...
image.setRGB(x, y, 0);
Run Code Online (Sandbox Code Playgroud)
来自文档:
void setRGB(int x, int y, int rgb)
//Sets a pixel in this BufferedImage to the specified RGB value.
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
5689 次 |
| 最近记录: |