使用Graphics2D在BufferedImage上覆盖文本并返回BufferedImage
我检查过类似命名的问题,但它们不回答这个用例。
protected BufferedImage Process2(BufferedImage image){
    Graphics2D gO = image.createGraphics();
    gO.setColor(Color.red);
    gO.setFont(new Font( "SansSerif", Font.BOLD, 12 ));
    gO.drawString(this.text, this.x, this.y);
    System.err.println(this.text+this.x+this.y);
    return image;} 慕村225694
慕村225694 
					慕勒3428872
 随时随地看视频慕课网APP
随时随地看视频慕课网APP
相关分类