Class ImageUtil


  • public class ImageUtil
    extends java.lang.Object
    This class holds utility methods for image manipulation on Cocoa platform Not used on other platforms
    Since:
    3.110
    • Constructor Summary

      Constructors 
      Constructor Description
      ImageUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static NSBitmapImageRep createImageRep​(Image image, NSSize targetSize)
      Creates new image representation based on the source image.
      • Methods inherited from class java.lang.Object

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

      • ImageUtil

        public ImageUtil()
    • Method Detail

      • createImageRep

        public static NSBitmapImageRep createImageRep​(Image image,
                                                      NSSize targetSize)
        Creates new image representation based on the source image.
        Parameters:
        image - Source image object
        targetSize - the size at which image representation needs to be created
        Returns:
        image representation
        Since:
        3.110