Class ImageScale8d


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

      Constructors 
      Constructor Description
      ImageScale8d​(@NotNull javax.swing.Icon srcImageIcon)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull javax.swing.ImageIcon getScaledImage()
      Returns the scaled image.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ImageScale8d

        public ImageScale8d​(@NotNull
                            @NotNull javax.swing.Icon srcImageIcon)
        Creates a new instance.
        Parameters:
        srcImageIcon - the image to scale
    • Method Detail

      • getScaledImage

        @NotNull
        public @NotNull javax.swing.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