Class ImageScale8d

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

public class ImageScale8d extends Object
A utility to scale down an image by 8 in both dimensions.
  • Constructor Details

    • ImageScale8d

      public ImageScale8d(@NotNull @NotNull Icon srcImageIcon)
      Creates a new instance.
      Parameters:
      srcImageIcon - the image to scale
  • 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