Class SwingImage
- java.lang.Object
-
- com.macrofocus.treemap.crossplatform.SwingImage
-
public class SwingImage extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SwingImage(java.awt.Graphics2D g2, int width, int height)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Graphics2D
createGraphics()
static double
findCurrentScaleFactor(java.awt.Graphics2D g2)
int
getHeight()
java.awt.image.BufferedImage
getImage()
double
getScaleFactor()
int
getWidth()
-
-
-
Method Detail
-
findCurrentScaleFactor
public static double findCurrentScaleFactor(java.awt.Graphics2D g2)
-
getWidth
public int getWidth()
-
getHeight
public int getHeight()
-
getScaleFactor
public double getScaleFactor()
-
createGraphics
public java.awt.Graphics2D createGraphics()
-
getImage
public java.awt.image.BufferedImage getImage()
-
-