Class SwingImage

java.lang.Object
com.treemap.swing.crossplatform.SwingImage

public class SwingImage extends Object
  • Constructor Details

    • SwingImage

      public SwingImage(Graphics2D g2, int width, int height)
  • Method Details

    • findCurrentScaleFactor

      public static double findCurrentScaleFactor(Graphics2D g2)
    • getWidth

      public int getWidth()
    • getHeight

      public int getHeight()
    • getScaleFactor

      public double getScaleFactor()
    • createGraphics

      public Graphics2D createGraphics()
    • getImage

      public BufferedImage getImage()