Uses of Class
org.eclipse.swt.graphics.ImageData
-
Packages that use ImageData Package Description org.eclipse.swt.graphics org.eclipse.swt.internal org.eclipse.swt.internal.image org.eclipse.swt.program -
-
Uses of ImageData in org.eclipse.swt.graphics
Fields in org.eclipse.swt.graphics declared as ImageData Modifier and Type Field Description ImageData[]ImageLoader. datathe array of ImageData objects in this ImageLoader.ImageDataImageLoaderEvent. imageDataif theendOfImageflag is false, then this is a partially complete copy of the currentImageData, otherwise this is a completely loadedImageDataMethods in org.eclipse.swt.graphics that return ImageData Modifier and Type Method Description ImageDataImage. getImageData()Returns anImageDatabased on the receiver.ImageDataImage. getImageData(int zoom)Returns anImageDatafor the given zoom level based on the receiver.ImageDataImageDataProvider. getImageData(int zoom)Returns the image data for the given zoom level.ImageDataImage. getImageDataAtCurrentZoom()Deprecated.This API doesn't serve the purpose in an environment having multiple monitors with different DPIs, hence deprecated.ImageDataImageData. getTransparencyMask()Returns anImageDatawhich specifies the transparency mask information for the receiver.static ImageDataImageData. internal_new(int width, int height, int depth, PaletteData palette, int scanlinePad, byte[] data, int maskPad, byte[] maskData, byte[] alphaData, int alpha, int transparentPixel, int type, int x, int y, int disposalMethod, int delayTime)Invokes internal SWT functionality to create a new instance of this class.ImageData[]ImageLoader. load(java.io.InputStream stream)Loads an array ofImageDataobjects from the specified input stream.ImageData[]ImageLoader. load(java.lang.String filename)Loads an array ofImageDataobjects from the file with the specified name.ImageDataImageData. scaledTo(int width, int height)Returns a copy of the receiver which has been stretched or shrunk to the specified size.Constructors in org.eclipse.swt.graphics with parameters of type ImageData Constructor Description Cursor(Device device, ImageData source, int hotspotX, int hotspotY)Constructs a new cursor given a device, image data describing the desired cursor appearance, and the x and y coordinates of the hotspot (that is, the point within the area covered by the cursor which is considered to be where the on-screen pointer is "pointing").Cursor(Device device, ImageData source, ImageData mask, int hotspotX, int hotspotY)Constructs a new cursor given a device, image and mask data describing the desired cursor appearance, and the x and y coordinates of the hotspot (that is, the point within the area covered by the cursor which is considered to be where the on-screen pointer is "pointing").Image(Device device, ImageData data)Constructs an instance of this class from the givenImageData.Image(Device device, ImageData source, ImageData mask)Constructs an instance of this class, whose type isSWT.ICON, from the two givenImageDataobjects.ImageLoaderEvent(ImageLoader source, ImageData imageData, int incrementCount, boolean endOfImage)Constructs a new instance of this class given the event source and the values to store in its fields. -
Uses of ImageData in org.eclipse.swt.internal
Methods in org.eclipse.swt.internal that return ImageData Modifier and Type Method Description static ImageDataDPIUtil. autoScaleDown(Device device, ImageData imageData)Auto-scale down ImageDatastatic ImageDataDPIUtil. autoScaleImageData(Device device, ImageData imageData, int targetZoom, int currentZoom)Auto-scale image with ImageDatastatic ImageDataDPIUtil. autoScaleUp(Device device, ImageData imageData)Auto-scale up ImageDataImageDataDPIUtil.AutoScaleImageDataProvider. getImageData(int zoom)static ImageDataDPIUtil. validateAndGetImageDataAtZoom(ImageDataProvider provider, int zoom, boolean[] found)Gets Image data at specified zoom level, if image is missing then fall-back to 100% image.Methods in org.eclipse.swt.internal with parameters of type ImageData Modifier and Type Method Description static ImageDataDPIUtil. autoScaleDown(Device device, ImageData imageData)Auto-scale down ImageDatastatic ImageDataDPIUtil. autoScaleImageData(Device device, ImageData imageData, int targetZoom, int currentZoom)Auto-scale image with ImageDatastatic ImageDataDPIUtil. autoScaleUp(Device device, ImageData imageData)Auto-scale up ImageDataConstructors in org.eclipse.swt.internal with parameters of type ImageData Constructor Description AutoScaleImageDataProvider(Device device, ImageData data, int zoom) -
Uses of ImageData in org.eclipse.swt.internal.image
Methods in org.eclipse.swt.internal.image that return ImageData Modifier and Type Method Description static ImageData[]FileFormat. load(java.io.InputStream is, ImageLoader loader)Read the specified input stream using the specified loader, and return the device independent image array represented by the stream.ImageData[]FileFormat. loadFromStream(org.eclipse.swt.internal.image.LEDataInputStream stream)Read the specified input stream, and return the device independent image array represented by the stream. -
Uses of ImageData in org.eclipse.swt.program
Methods in org.eclipse.swt.program that return ImageData Modifier and Type Method Description ImageDataProgram. getImageData()Returns the receiver's image data.
-