Uses of Class
org.eclipse.swt.graphics.PaletteData
Packages that use PaletteData
Package
Description
SWT graphics classes.
SWT internal image loading/saving support classes.
-
Uses of PaletteData in org.eclipse.swt.graphics
Fields in org.eclipse.swt.graphics declared as PaletteDataMethods in org.eclipse.swt.graphics that return PaletteDataModifier and TypeMethodDescription(package private) static PaletteDataImageData.bwPalette()Returns a palette with 2 colors: black invalid input: '&' white.Methods in org.eclipse.swt.graphics with parameters of type PaletteDataModifier and TypeMethodDescriptionstatic 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.(package private) voidImageData.setAllFields(int width, int height, int depth, int scanlinePad, int bytesPerLine, byte[] data, PaletteData palette, int transparentPixel, byte[] maskData, int maskPad, byte[] alphaData, int alpha, int type, int x, int y, int disposalMethod, int delayTime) Initializes all fields in the receiver.Constructors in org.eclipse.swt.graphics with parameters of type PaletteDataModifierConstructorDescriptionImageData(int width, int height, int depth, PaletteData palette) Constructs a new, empty ImageData with the given width, height, depth and palette.ImageData(int width, int height, int depth, PaletteData palette, int scanlinePad, byte[] data) Constructs a new, empty ImageData with the given width, height, depth, palette, scanlinePad and data.(package private)ImageData(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) Constructs an image data by giving values for all non-computable fields. -
Uses of PaletteData in org.eclipse.swt.internal.image
Methods in org.eclipse.swt.internal.image that return PaletteDataModifier and TypeMethodDescription(package private) PaletteDataPngIhdrChunk.createGrayscalePalette()(package private) PaletteDataTIFFDirectory.getColorMap()(package private) PaletteDataTIFFDirectory.getGrayPalette()(package private) PaletteDataPngIhdrChunk.getPaletteData()(package private) PaletteDataPngPlteChunk.getPaletteData()Get a PaletteData object representing the colors stored in this PLTE chunk.(package private) PaletteDataTIFFDirectory.getRGBPalette(int bitsR, int bitsG, int bitsB) (package private) static PaletteDataGIFFileFormat.grayRamp(int numGrays) Answer a palette containing numGrays shades of gray, ranging from black to white.(package private) PaletteDataOS2BMPFileFormat.loadPalette(byte[] infoHeader) (package private) PaletteDataWinBMPFileFormat.loadPalette(byte[] infoHeader) (package private) PaletteDataOS2BMPFileFormat.paletteFromBytes(byte[] bytes, int numColors) (package private) PaletteDataWinBMPFileFormat.paletteFromBytes(byte[] bytes, int numColors) (package private) PaletteDataGIFFileFormat.readPalette(int numColors) Read a palette from the input stream.(package private) PaletteDataJPEGFileFormat.setUpPalette()Methods in org.eclipse.swt.internal.image with parameters of type PaletteDataModifier and TypeMethodDescription(package private) booleanWinBMPFileFormat.isPaletteBMP(PaletteData pal, int depth) (package private) static byte[]OS2BMPFileFormat.paletteToBytes(PaletteData pal) Answer a byte array containing the BMP representation of the given device independent palette.(package private) static byte[]WinBMPFileFormat.paletteToBytes(PaletteData pal) Answer a byte array containing the BMP representation of the given device independent palette.(package private) ImageDataGIFFileFormat.readImageBlock(PaletteData defaultPalette) Return a DeviceIndependentImage representing the image block at the current position in the input stream.(package private) voidPngPlteChunk.setPaletteData(PaletteData palette) Set the data of a PLTE chunk to the colors stored in the specified PaletteData object.(package private) voidGIFFileFormat.writePalette(PaletteData palette, int depth) Write the specified palette to the output stream.Constructors in org.eclipse.swt.internal.image with parameters of type PaletteData