All Downloads are FREE. Search and download functionalities are using the official Maven repository.

devutility.internal.awt.image.ImageSpace Maven / Gradle / Ivy

There is a newer version: 1.3.8.1
Show newest version
package devutility.internal.awt.image;

import java.awt.Graphics2D;
import java.awt.image.BufferedImage;

public class ImageSpace {
	private int width;
	private int height;
	private BufferedImage image;
	private Graphics2D graphics2D;

	public int getWidth() {
		return width;
	}

	public int getHeight() {
		return height;
	}

	public BufferedImage getImage() {
		return image;
	}

	public void setImage(BufferedImage image) {
		this.image = image;
		this.width = image.getWidth();
		this.height = image.getHeight();
	}

	public Graphics2D getGraphics2D() {
		return graphics2D;
	}

	public void setGraphics2D(Graphics2D graphics2d) {
		graphics2D = graphics2d;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy