Class NSImage

    • Constructor Detail

      • NSImage

        public NSImage()
      • NSImage

        public NSImage​(long id)
      • NSImage

        public NSImage​(id id)
    • Method Detail

      • TIFFRepresentation

        public NSData TIFFRepresentation()
      • addRepresentation

        public void addRepresentation​(NSImageRep imageRep)
      • bestRepresentationForDevice

        public NSImageRep bestRepresentationForDevice​(NSDictionary deviceDescription)
      • drawInRect

        public void drawInRect​(NSRect rect,
                               NSRect fromRect,
                               long op,
                               double delta)
      • initByReferencingFile

        public NSImage initByReferencingFile​(NSString fileName)
      • initWithContentsOfFile

        public NSImage initWithContentsOfFile​(NSString fileName)
      • initWithIconRef

        public NSImage initWithIconRef​(long iconRef)
      • lockFocus

        public void lockFocus()
      • removeRepresentation

        public void removeRepresentation​(NSImageRep imageRep)
      • representations

        public NSArray representations()
      • setCacheMode

        public void setCacheMode​(long cacheMode)
      • setScalesWhenResized

        public void setScalesWhenResized​(boolean flag)
      • setSize

        public void setSize​(NSSize size)
      • unlockFocus

        public void unlockFocus()