Class ImageScale2x

java.lang.Object
com.realtime.crossfire.jxclient.faces.ImageScale2x

public class ImageScale2x extends Object
A utility to perform the scale2x algorithm on a Java Image.
  • Constructor Details

    • ImageScale2x

      public ImageScale2x(@NotNull @NotNull Icon srcImageIcon)
      Creates a new scaler that will scale the passed image.
      Parameters:
      srcImageIcon - the image to be scaled
  • Method Details

    • getScaledImage

      @NotNull public @NotNull ImageIcon getScaledImage()
      Returns the scaled image. Note this is the method that actually does the work, so it may take some time to return.
      Returns:
      the scaled image